Skip to content

Released version 4.0.1

Latest

Choose a tag to compare

@dg dg released this 06 Nov 01:28
  • Inline arrays over several lines read as in JSON – following the NEON specification 1.1, a value on the line after its key belongs to that key, so {a: + new line + b} is {a: b}; the same holds in entity arguments, and a new line may also stand between a key and its colon
  • Documents written for the old reading change meaning – nette/neon 3 and 4.0.0 read {a: + new line + b} as {a: null, 0: b}. As a transitional aid, parsing a value on the line after its key triggers E_USER_NOTICE naming the line and the key; to keep a key without a value, write null or a comma after it