Fix issue #17 #22

Merged
merged 1 commit into from Apr 11, 2013

Projects

None yet

3 participants

@Amorph

Fix issue about double accuracy

@Amorph

Hm, my patch not work with C90 compiler.
I'll try to fix this

@LB--

I believe json_int_t is 64bit; it should be used here anyway.

@Amorph

json_int_t not work with C90 too, becouse don't have inttypes.h and any 64 bit number except double.
Current number parser, works with 64bit Int's thanks to some hacks. I'll try to split parsing float and integer numbers.

@LB--

Well, using json_int_t would allow it to compile under the travis build and most people would be able to compile it as 64 bits. It's just a suggestion.

@Amorph

Ok. Tomorrow I'll made changes.
Also I'm preparing simple json writer with full escaping and UTF8->to \uXXXX conversion

@Amorph

Updated commit

@udp
Owner
udp commented Apr 8, 2013

Thanks, LGTM. What name would you like in the AUTHORS?

@Amorph

My name is Ivan Kozub.
What do you think about adding features like editing and printing?

@udp udp merged commit 652c908 into udp:master Apr 11, 2013

1 check passed

Details default The Travis build passed
@udp
Owner

I'm not sure about editing as we don't have a serializer, but I'd be happy to contribute to a more complete JSON suite incorporating json-parser.

Printing could be nice to have in json-parser, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment