According to RFC 7159, a JSON value may be "an object, array, number, or string, or one of the following three literal names: falsenulltrue."
Patchboard currently only accepts objects or arrays as top-level values. This is to maintain compatibility with certain JSON parsers implementations, such as Ruby's, which enforces this as well.
This should perhaps be documented and eventually changed as other parsers are updated.
According to RFC 7159, a JSON value may be "an object, array, number, or string, or one of the following three literal names:
false
null
true
."Patchboard currently only accepts objects or arrays as top-level values. This is to maintain compatibility with certain JSON parsers implementations, such as Ruby's, which enforces this as well.
This should perhaps be documented and eventually changed as other parsers are updated.