Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/santerijps/mion
Minimal Object Notation as an alternative to JSON
https://github.com/santerijps/mion
data format json notation object
Last synced: 2 days ago
JSON representation
Minimal Object Notation as an alternative to JSON
- Host: GitHub
- URL: https://github.com/santerijps/mion
- Owner: santerijps
- License: other
- Created: 2024-04-28T20:10:25.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-04-29T10:20:50.000Z (7 months ago)
- Last Synced: 2024-08-09T18:34:04.361Z (3 months ago)
- Topics: data, format, json, notation, object
- Language: TypeScript
- Homepage:
- Size: 135 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mion
`mion` (Minimal Object Notation) is a clean and lean alternative to JSON, which is easily converted to JSON.
It looks familiar to JSON with a minimalist syntax to ensure easy readability and a small footprint.
As an additional feature, `mion` supports list schemas, which makes it delightful to declare lists without repetition.```text
# This is a comment!name "Alice" # string
age 50 # number
is_adult true # boolean
naughty null # nulladdress { # White space is irrelevant
country "UK"
city "London"
street "123 Baker Street"
}fruits [
"apple"
"banana"
"orange"
]people (id name age) [ # Schemas!
1 "Alice" 50
2 "Bob" 60
3 "Charlie" 45
]
```## Usage
```bash
npm i @santerijps/mion
```