- 29 Apr, 2016 1 commit
-
-
Jon Skeet authored
(And likewise ignore the prefix in unpack.) Fixes issue #1459.
-
- 20 Apr, 2016 2 commits
- 07 Mar, 2016 1 commit
-
-
avgweb authored
-
- 04 Feb, 2016 3 commits
- 20 Jan, 2016 1 commit
-
-
Jon Skeet authored
The usage of ICustomDiagnosticMessage here is non-essential - ToDiagnosticString doesn't actually get called by ToString() in this case, due to JsonFormatter code. It was intended to make it clearer that it *did* have a custom format... but then arguably I should do the same for Value, Struct, Any etc. Moving some of the code out of JsonFormatter and into Duration/Timestamp/FieldMask likewise feels somewhat nice, somewhat nasty... basically there are JSON-specific bits of formatting, but also domain-specific bits of computation. <sigh> Thoughts welcome.
-
- 15 Jan, 2016 1 commit
-
-
Jon Skeet authored
-
- 11 Jan, 2016 1 commit
-
-
Jon Skeet authored
On deserialization, missing values for message types are replaced with a "default" message.
-
- 15 Dec, 2015 1 commit
-
-
Jon Skeet authored
-
- 22 Nov, 2015 1 commit
-
-
Jon Skeet authored
Generated code changes for previous commit (basically InternalBuildGeneratedFileFrom => FromGeneratedCode)
-
- 19 Nov, 2015 1 commit
-
-
Jon Skeet authored
-
- 09 Nov, 2015 1 commit
-
-
Jon Skeet authored
-
- 06 Nov, 2015 1 commit
-
-
Jon Skeet authored
-
- 03 Nov, 2015 1 commit
-
-
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.
-
- 24 Oct, 2015 1 commit
-
-
Jon Skeet authored
-
- 01 Oct, 2015 1 commit
-
-
Jon Skeet authored
-
- 30 Sep, 2015 1 commit
-
-
Jon Skeet authored
-
- 29 Sep, 2015 2 commits
- 04 Sep, 2015 1 commit
-
-
Jon Skeet authored
We still need the JSON representation, which relies on something like a DescriptorPool to fetch message types from based on the type URL. That will come a bit later. (The DescriptorPool comment in this commit is just a note which will prove useful if we use DescriptorPool itself.)
-
- 01 Sep, 2015 1 commit
-
-
Jon Skeet authored
Other changes are due to the well-known types changing without us regenerating.
-
- 06 Aug, 2015 1 commit
-
-
Jon Skeet authored
-
- 05 Aug, 2015 2 commits
- 04 Aug, 2015 1 commit
-
-
Jon Skeet authored
-
- 03 Aug, 2015 1 commit
-
-
Jon Skeet authored
This is taking an approach of putting all the logic in JsonFormatter. That's helpful in terms of concealing the details of whether or not to wrap the value in quotes, but it does lack flexibility. I don't *think* we want to allow user-defined formatting of messages, so that much shouldn't be a problem.
-
- 31 Jul, 2015 1 commit
-
-
Jon Skeet authored
While I've provided operators, I haven't yet provided the method equivalents. It's not clear to me that they're actually a good idea, while we're really targeting C# developers who definitely *can* use the user-defined operators.
-
- 30 Jul, 2015 3 commits
-
-
Jon Skeet authored
-
Jon Skeet authored
-
Jan Tattermusch authored
-
- 22 Jul, 2015 2 commits
- 21 Jul, 2015 1 commit
-
-
Jon Skeet authored
-
- 17 Jul, 2015 1 commit
-
-
Jon Skeet authored
We'll see what I've missed when CI fails...
-