1. 16 Dec, 2015 1 commit
  2. 13 Dec, 2015 5 commits
  3. 24 Nov, 2015 1 commit
  4. 20 Nov, 2015 1 commit
  5. 16 Nov, 2015 3 commits
  6. 13 Nov, 2015 1 commit
  7. 12 Nov, 2015 5 commits
  8. 11 Nov, 2015 2 commits
  9. 09 Nov, 2015 14 commits
  10. 06 Nov, 2015 2 commits
  11. 05 Nov, 2015 1 commit
  12. 31 Aug, 2015 1 commit
  13. 08 Aug, 2015 1 commit
  14. 06 Aug, 2015 1 commit
    • Kenton Varda's avatar
      WIP JSON encoder/decoder library. Currently only encodes. · e3e9ce8d
      Kenton Varda authored
      The library allows for registering special handlers for specific types or fields. This is particluarly useful for overriding the way `Data` is encoded (since many approaches exist) or supporting encodings like EJSON or Q which extend JSON with special types encoded as objects with field names perfixed by dollar signs.
      
      Not integrated into build system yet (but builds nicely with Ekam). I think this is going to need to be a separate library, e.g. libcapnp-json, because clearly a lot of Cap'n Proto users don't need it at all.
      
      For the moment, this was written for use inside Sandstorm. There is no current need for a decoder, so I have not written that yet and have no immediate plans to do so. But it will be added before any official Cap'n Proto release, certainly. A simple recursive descent parser should be easy...
      e3e9ce8d