Commit 668e8fa
Add Factories for JSON+SimpleJSON Serializers
Summary:
Thrift structs don't neccessarirly always stay within RPC. Programs might
be interested in outputting them to a user / saving them to a DB.
Here, JSON (DB) SimpleJSON (User) serialization formats may be useful.
This Diff adds factories for both serialization formats.
Reviewed By: lcpoletto, doranand
Differential Revision: D38783343
fbshipit-source-id: cdb635dac21ddb954b09ece28bc1296476a5c8621 parent b3369c1 commit 668e8fa
1 file changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
64 | 80 | | |
65 | 81 | | |
66 | 82 | | |
| |||
0 commit comments