Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
komkom authored Aug 30, 2020
1 parent d81d82d commit 78e59ee
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,44 @@ number = "a number as defined by json dot org";

### Examples

```
// A jsonc example document
{
title:`jsonc example`
owner:{
name:`komkom`
dob:`1975-01-25T12:00:00-02:00`
}
database:{ // our live db
server:`192.168.1.1`
ports:[8001,8002,8003]
connectionMax:5000
enabled:true
}
servers:{ // a server
alpha:{
ip: /* is soon invalid */ `10.0.0.1`
dc:`eqdc10`
}
beta:{
ip:`10.0.0.2`
dc:`eqdc10`
}
}
clients:{
data:[["gamma","delta"],[1,2]]
}
hosts:[alpha,omega]
}
```

```
{
// A jsonc example
Expand Down

0 comments on commit 78e59ee

Please sign in to comment.