> On 28 Feb 2019, at 22:35, Tim Mackinnon <tim@testit.works> wrote:
> 
> Sven- thinking a bit more
> 
>> On 28 Feb 2019, at 13:59, Sven Van Caekenberghe <s...@stfx.eu> wrote:
>> 
>> This is wrong !!
>> 
>> Think about it, what would then happen with a mixed list ?
>> 
>> { #key->#value. 1. true }
>> 
>> That would generate invalid JSON.
> 
> 
> I actually went and tried my little hack with your example and it gives the 
> same error as STONWriter - so actually my proposal isn’t so horrid as 
> inferred… (but still not as knowledgable as everyone else on this for sure).

Forget about the way you are trying to implement it, to what would 

  { #key->#value. 1. true }

be rendered in JSON ?

  { "key":"value", 1, true }

or

  [ "key":"value", 1, true ]

Both are illegal JSON.



Reply via email to