clone of github.com/decent-newsroom/newsroom
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
405 B

# Empty Object
{ }
==>
JsonText(Object)
# One Property
{
"foo": 123
}
==>
JsonText(Object(Property(PropertyName,Number)))
# Multiple Properties
{
"foo": 123,
"bar": "I'm a bar!",
"obj": {},
"arr": [1, 2, 3]
}
==>
JsonText(Object(
Property(PropertyName,Number),
Property(PropertyName,String),
Property(PropertyName,Object),
Property(PropertyName,Array(Number,Number,Number))))