March 1, 2019
10:35 a.m.
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 <sven@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.