vivkin / gason

Lightweight and fast JSON parser for C++
MIT License
338 stars 51 forks source link

\uXXXX chars ? #32

Closed eltomjan closed 5 years ago

eltomjan commented 5 years ago

Hello,

there is no unicode escape processing ?

Btw, made a C# translation - a bit slower, bit more memory used, but raw POC seems to work: https://github.com/eltomjan/ETEhomeTools/tree/master/CSharp/GasonC%23

Anyway gason is very nice and quick parser...

P.S. C# translates them automatically in string (ex. \u0037 -> 7), but you can force them (\uXXXX) or read from file in case(?).

vivkin commented 5 years ago

Here it https://github.com/vivkin/gason/blob/master/src/gason.cpp#L201

eltomjan commented 5 years ago

Sorry, lost it during translation - started with smaller version and did not add from original that later...