json5-dotnet
json5-dotnet copied to clipboard
The official implementation of JSON5 for the .NET Framework
.NET Core 3 [makes it easier to code more performant JSON (de-)serializers](https://devblogs.microsoft.com/dotnet/announcing-net-core-3-preview-2/#introducing-a-fast-in-box-json-writer--json-document); it may make sense to rework JSON5.Net on top of that. In fact, the design document/roadmap even mentions...
I assume the modified test case is now better match to https://github.com/json5/json5/blob/master/test/stringify.js since C# doesn't understand single quoted strings Not my finest work, fixes: **SingleQuotedStringPropertyNamesTest DoubleQuotedStringPropertyNamesTest**
**v1.0.0** (TODO list not yet finalized) - [x] Write tests for public API. - [x] Write tests for syntax errors with lines, and columns. - [ ] Write CLI and...
The folowing json5 string: {a:1,b:'j',c:[1,[1],{a:1},],d:{a:1,},} Parses correctly using the javascript version of json5, on cli, installed through npm npm install --global json5 but fails parsing with the dll built on...
This fixes following test cases: **ModifiesPropertyValuesTest ModifiesNestedObjectPropertyValuesTest DeletesPropertyValuesTest ModifiesArrayValuesTest ModifiesNestedArrayValuesTest**
This plus [fix-iteration-mutation branch](https://github.com/json5/json5-dotnet/pull/14) should make FunctionTest much better.
It is essential to implement an ORM that will map Json5Object to custom types the same as it is done by Json.NET. For example: ```c# public class Program { public...
The project misses a NuGet package in official NuGet.org repository. I would suggest to consider this complete showstopper as it is almost impossible to use the lib without a package....