Skip to content

Commit

Permalink
Clarify fromJSON/fromJSON format in README (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
lorensr authored Dec 20, 2021
1 parent 1d5a4e3 commit 246aca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ creating a class and calling the right getters/setters.

(Configurable with the `useDate` parameter.)

- `fromJSON`/`toJSON` support the [canonical Protobuf JS](https://developers.google.com/protocol-buffers/docs/proto3#json) format (i.e. timestamps are ISO strings)
- `fromJSON`/`toJSON` use the [proto3 canonical JSON encoding format](https://developers.google.com/protocol-buffers/docs/proto3#json) (e.g. timestamps are ISO strings), unlike [`protobufjs`](https://github.com/protobufjs/protobuf.js/issues/1304).

# Auto-Batching / N+1 Prevention

Expand Down

0 comments on commit 246aca8

Please sign in to comment.