Thomas Van Lenten
|
e4c3a0c5f8
Build out the validation of google.protobuf.Any JSON support. (#1744)
|
hai 1 ano |
Thomas Van Lenten
|
e876103227
During JSON parsing, validate `@type` to be minimally valid. (#1742)
|
hai 1 ano |
Thomas Van Lenten
|
b164ab273a
Swap String(bytes:encoding:)! for String(decoding:as:)
|
hai 1 ano |
Thomas Van Lenten
|
ac8da77c93
Run `swift-format -p -r -i .`
|
hai 1 ano |
Gus Cairo
|
3062c69376
Fix docs
|
hai 1 ano |
Gus Cairo
|
330beeccd4
Keep existing errors and move only new ones to SwiftProtobufError
|
hai 1 ano |
Gus Cairo
|
76e20455c9
Add SourceLocation to SwiftProtobufError's description
|
%!s(int64=2) %!d(string=hai) anos |
Gus Cairo
|
1f4bdda2d8
Move all errors to extendable struct-based SwiftProtobufError
|
%!s(int64=2) %!d(string=hai) anos |
Thomas Van Lenten
|
0f3e371638
Add `enableUpcomingFeature("ExistentialAny")` and update accordingly.
|
%!s(int64=2) %!d(string=hai) anos |
Gus Cairo
|
4164652349
Rename JSON methods
|
%!s(int64=2) %!d(string=hai) anos |
Gus Cairo
|
dfd9b7fa74
Change JSON encoding methods to use SwiftProtobufContiguousBytes
|
%!s(int64=2) %!d(string=hai) anos |
Thomas Van Lenten
|
9166640f3a
Move SwiftProtobufCore -> SwiftProtobuf
|
%!s(int64=2) %!d(string=hai) anos |
Gus Cairo
|
5002f4cee6
Split SwiftProtobuf into SwiftProtobufCore & SwiftProtobufFoundationCompat
|
%!s(int64=3) %!d(string=hai) anos |
Tim Kientzle
|
96d2ce6f64
Update link to LICENSE.txt in the copyright block
|
%!s(int64=4) %!d(string=hai) anos |
Thomas Van Lenten
|
1d67ef1c29
Adds back some array helpers to maintain api compat.
|
%!s(int64=5) %!d(string=hai) anos |
Tim Kientzle
|
38274e875e
Any + JSON + extensions
|
%!s(int64=5) %!d(string=hai) anos |
Tim Kientzle
|
e56ffc39ff
Basic test for nested messages with extension fields
|
%!s(int64=5) %!d(string=hai) anos |
Cory Benfield
|
defcb54803
Use raw pointers instead of typed pointers.
|
%!s(int64=6) %!d(string=hai) anos |
Alan Zeino
|
48bf5a8b95
swift5
|
%!s(int64=7) %!d(string=hai) anos |
Thomas Van Lenten
|
9e324f8796
Use access modifiers directly on decls instead of on extensions.
|
%!s(int64=7) %!d(string=hai) anos |
Thomas Van Lenten
|
0b5770a96c
Wire JSONEncodingOptions into the encoding api.
|
%!s(int64=7) %!d(string=hai) anos |
Thomas Van Lenten
|
56107162d8
Remove the comments about nil since the api changed.
|
%!s(int64=8) %!d(string=hai) anos |
Thomas Van Lenten
|
273aea222b
Don't make the JSONDecodingOptions optional, just default them.
|
%!s(int64=8) %!d(string=hai) anos |
Thomas Van Lenten
|
de620e1646
Add JSONDecodingOptions with a message depth limit and honor it.
|
%!s(int64=8) %!d(string=hai) anos |
Zachary Waldowski
|
bd651fa5c7
Add encoding/decoding for top-level Arrays of Message types from JSON (#496)
|
%!s(int64=9) %!d(string=hai) anos |