This website requires JavaScript.
Explore
Help
Sign In
mirror
/
protobuf-go
Watch
1
Star
0
Fork
0
You've already forked protobuf-go
mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced
2025-01-01 11:58:21 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
913ace2501
protobuf-go
/
go.mod
4 lines
72 B
Modula-2
Raw
Normal View
History
Unescape
Escape
go.mod: initialize Go module As a placeholder import path, use "google.golang.org/proto". This is not a statement about the final import path for the repository. Since we reserve the right to make breaking changes, we can change this import path prior to release. We simply need some import path (could be anything) so that the sub-packages can import each other. Change-Id: If80108438c7569c23326fd699dee3ffb582ef852 Reviewed-on: https://go-review.googlesource.com/127340 Reviewed-by: Damien Neil <dneil@google.com>
2018-08-01 20:46:01 +00:00
module
google
.
golang
.
org
/
proto
internal/encoding/json: initial commit of JSON parser/serializer Package json provides a parser and serializer for the JSON format. This focuses on the grammar of the format and is agnostic towards specific semantics of protobuf types. High-level API: func Marshal(v Value, indent string) ([]byte, error) func Unmarshal(b []byte) (Value, error) type Type uint8 const Null Type ... type Value struct{ ... } func ValueOf(v interface{}) Value func (v Value) Type() Type func (v Value) Bool() bool func (v Value) Number() float64 func (v Value) String() string func (v Value) Array() []Value func (v Value) Object() [][2]Value func (v Value) Raw() []byte Change-Id: I26422f6b3881ef1a11b8aa95160645b1384b27b8 Reviewed-on: https://go-review.googlesource.com/127824 Reviewed-by: Herbie Ong <herbie@google.com>
2018-08-04 00:22:24 +00:00
require
github
.
com
/
google
/
go
-
cmp
v0
.
2.0
Reference in New Issue
Copy Permalink