1. 04 Feb, 2016 1 commit
  2. 19 Nov, 2015 2 commits
  3. 05 Nov, 2015 1 commit
    • Jon Skeet's avatar
      Created a new exception for JSON failures. · 0fb39c4a
      Jon Skeet authored
      This is only thrown directly by JsonTokenizer, but surfaces from JsonParser as well. I've added doc comments to hopefully make everything clear.
      
      The exception is actually thrown by the reader within JsonTokenizer, in anticipation of keeping track of the location within the document, but that change is not within this PR.
      0fb39c4a
  4. 03 Nov, 2015 1 commit
    • Jon Skeet's avatar
      Implement JSON parsing in C#. · fb248822
      Jon Skeet authored
      This includes all the well-known types except Any.
      Some aspects are likely to require further work when the details of the JSON parsing expectations are hammered out in more detail. Some of these have "ignored" tests already.
      
      Note that the choice *not* to use Json.NET was made for two reasons:
      - Going from 0 dependencies to 1 dependency is a big hit, and there's not much benefit here
      - Json.NET parses more leniently than we'd want; accommodating that would be nearly as much work as writing the tokenizer
      This only really affects the JsonTokenizer, which could be replaced by Json.NET. The JsonParser code would be about the same length with Json.NET... but I wouldn't be as confident in it.
      fb248822
  5. 04 Aug, 2015 1 commit
  6. 30 Jul, 2015 1 commit
  7. 17 Jul, 2015 1 commit
  8. 30 Jun, 2015 1 commit
  9. 19 Jun, 2015 1 commit
    • Jon Skeet's avatar
      Minor cleanup. · cdeda4b8
      Jon Skeet authored
      - Make some members internal
      - Remove a lot of FrameworkPortability that isn't required
      - Start adding documentation comments
      - Remove some more group-based members
      - Not passing in "the last tag read" into Read*Array, g
      cdeda4b8
  10. 12 Jun, 2015 1 commit
    • Jon Skeet's avatar
      Coded*Stream streamlining. · 96ddf01a
      Jon Skeet authored
      Remove ICodedInputStream and ICodedOutputStream, and rewrite CodedInputStream and CodedOutputStream to be specific to the binary format. If we want to support text-based formats, that can be a whole different serialization mechanism.
      96ddf01a
  11. 09 Jun, 2015 1 commit