byzhang / rapidjson

Automatically exported from code.google.com/p/rapidjson
MIT License
0 stars 0 forks source link

Patch to support 0x hex notation #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I needed support for supplying values such as {"address": 0xffeeff00} so i 
hacked up a quick implementation for it. I didn't really test it too much but 
just made sure it handled up to at least 0xFFFFFFFFFFFFFFFF. I didn't implement 
past Uint64. But I figured I'd pass it along as someone else may want this 
functionality.

Original issue reported on code.google.com by isaac.da...@gmail.com on 2 May 2013 at 3:57

Attachments:

GoogleCodeExporter commented 9 years ago
noticed a number of bugs in my patch will resubmit.

Original comment by isaac.da...@gmail.com on 2 May 2013 at 4:51

GoogleCodeExporter commented 9 years ago
Trying this again, still definitely not the best approach, but it works for me 
:/.

Original comment by isaac.da...@gmail.com on 2 May 2013 at 5:07

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for your patch.
But currently rapidjson tries to validate the RFC4627 only.
Might put it to contribution part instead of main code.

Original comment by milo...@gmail.com on 18 Jun 2013 at 1:56

GoogleCodeExporter commented 9 years ago
This issue has been merged to https://github.com/miloyip/rapidjson/issues/36 
for further discussion.

Original comment by milo...@gmail.com on 13 Jul 2014 at 5:11