Skip to content

Commit 0a803df

Browse files
committed
feat: add integration of serde_json
1 parent 74afe4c commit 0a803df

File tree

4 files changed

+429
-0
lines changed

4 files changed

+429
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ your Schemas automatically.
7474
- [chrono][chrono]
7575
- [chrono-tz][chrono-tz]
7676
- [bson][bson]
77+
- [serde_json][serde_json]
7778

7879
### Web Frameworks
7980

@@ -120,3 +121,4 @@ Juniper has not reached 1.0 yet, thus some API instability should be expected.
120121
[chrono-tz]: https://crates.io/crates/chrono-tz
121122
[bson]: https://crates.io/crates/bson
122123
[juniper-from-schema]: https://github.com/davidpdrsn/juniper-from-schema
124+
[serde_json]: https://crates.io/crates/serde_json

juniper/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ default = [
2525
"schema-language",
2626
"url",
2727
"uuid",
28+
"json",
2829
]
2930
expose-test-schema = ["anyhow", "serde_json"]
3031
graphql-parser-integration = ["graphql-parser"]
3132
scalar-naivetime = []
3233
schema-language = ["graphql-parser-integration"]
34+
json = ["serde_json"]
3335

3436
[dependencies]
3537
juniper_codegen = { version = "0.15.7", path = "../juniper_codegen" }

0 commit comments

Comments
 (0)