Comments (5)
The newly added jsonpb package (see 67cbcad) is the official vehicle for JSON support. There's not yet any support for Timestamp and friends yet.
from protobuf.
Thank you for the update!
from protobuf.
553c764 adds jsonpb
support for Duration and Timestamp according to the spec. Other types will follow.
from protobuf.
c6184d3 adds jsonpb
support for the types in wrappers.proto
.
from protobuf.
552c7b9 adds jsonpb
support for Struct and NullValue.
I think that's all we have covered right now.
from protobuf.
Related Issues (20)
- Reading value from proto struct via protoreflect for optional fields HOT 4
- Unreachable code HOT 1
- AllowErrors option for UnmarshalOptions HOT 3
- reflection/protodesc: placeholder files produce a descriptor with strange syntax value
- JSON Unmarshal of some Unicode escape sequence results in error HOT 8
- How to merge all proto files in single file HOT 1
- testing/protocmp: add IgnoreUnsetFields HOT 8
- protobuf/types/known/timestamppb not recognized by gRPC module HOT 9
- Best practices for getting size of Google Protobuf Struct value HOT 5
- [protobuf-go] Add new feature - ignore field when Marshal message HOT 1
- encoding/prototext: Handle well-known Timestamp message as string HOT 1
- protojson: vuln: malicious JSON can trivially induce stack overflow
- protojson: vuln: discard unknown fields can result in stack overflow HOT 1
- API design suggestion: rename UnmarshalOptions to Unmarshaler HOT 4
- nil pointer error inside protobuf library. HOT 1
- Kotlin lite: Tried to write the same file twice
- How to cast descriptorpb.DescriptorProto to protoreflect.MessageDescriptor HOT 2
- Unwanted namespacing warning/ or error HOT 1
- Installation instructions for the common case (nit feature request) HOT 2
- marshall/unmarshal time.Time to *timestamppb.Timestamp fails HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protobuf.