-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
104 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ISC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,19 @@ opam-version: "2.0" | |
maintainer: "Matt Bray <[email protected]>" | ||
authors: ["Simon Cruanes"] | ||
synopsis: "Bencode interface for decoders" | ||
description: """ | ||
A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`. | ||
|
||
> Eh? | ||
|
||
An Ocaml program having a JSON (or YAML) data source usually goes something like this: | ||
|
||
1. Get your data from somewhere. Now you have a `string`. | ||
2. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`. | ||
3. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain. | ||
|
||
This library helps with step 3. | ||
""" | ||
homepage: "https://github.com/mattjbray/ocaml-decoders" | ||
doc: "https://mattjbray.github.io/ocaml-decoders/decoders-bencode" | ||
bug-reports: "https://github.com/mattjbray/ocaml-decoders/issues" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,19 @@ opam-version: "2.0" | |
maintainer: "Matt Bray <[email protected]>" | ||
authors: ["Matt Bray <[email protected]>"] | ||
synopsis: "CBOR interface for decoders" | ||
description: """ | ||
A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`. | ||
|
||
> Eh? | ||
|
||
An Ocaml program having a JSON (or YAML) data source usually goes something like this: | ||
|
||
1. Get your data from somewhere. Now you have a `string`. | ||
2. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`. | ||
3. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain. | ||
|
||
This library helps with step 3. | ||
""" | ||
homepage: "https://github.com/mattjbray/ocaml-decoders" | ||
doc: "https://mattjbray.github.io/ocaml-decoders/decoders-cbor" | ||
bug-reports: "https://github.com/mattjbray/ocaml-decoders/issues" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,19 @@ maintainer: "Matt Bray <[email protected]>" | |
authors: ["Matt Bray <[email protected]>"] | ||
homepage: "https://github.com/mattjbray/ocaml-decoders" | ||
synopsis: "Interface to ezjsonm for decoders" | ||
description: """ | ||
A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`. | ||
|
||
> Eh? | ||
|
||
An Ocaml program having a JSON (or YAML) data source usually goes something like this: | ||
|
||
1. Get your data from somewhere. Now you have a `string`. | ||
2. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`. | ||
3. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain. | ||
|
||
This library helps with step 3. | ||
""" | ||
doc: "https://mattjbray.github.io/ocaml-decoders/decoders-ezjsonm" | ||
bug-reports: "https://github.com/mattjbray/ocaml-decoders/issues" | ||
license: "ISC" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
opam-version: "2.0" | ||
maintainer: "Matt Bray <[email protected]>" | ||
synopsis: "YAML interface for ocaml-decoders" | ||
description: """ | ||
A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`. | ||
|
||
> Eh? | ||
|
||
An Ocaml program having a JSON (or YAML) data source usually goes something like this: | ||
|
||
1. Get your data from somewhere. Now you have a `string`. | ||
2. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`. | ||
3. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain. | ||
|
||
This library helps with step 3. | ||
""" | ||
authors: ["Matt Bray <[email protected]>"] | ||
homepage: "https://github.com/mattjbray/ocaml-decoders" | ||
doc: "https://mattjbray.github.io/ocaml-decoders/decoders-ocyaml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,19 @@ opam-version: "2.0" | |
maintainer: "Matt Bray <[email protected]>" | ||
authors: ["Matt Bray <[email protected]>"] | ||
synopsis: "Sexplib interface for decoders" | ||
description: """ | ||
A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`. | ||
|
||
> Eh? | ||
|
||
An Ocaml program having a JSON (or YAML) data source usually goes something like this: | ||
|
||
1. Get your data from somewhere. Now you have a `string`. | ||
2. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`. | ||
3. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain. | ||
|
||
This library helps with step 3. | ||
""" | ||
homepage: "https://github.com/mattjbray/ocaml-decoders" | ||
doc: "https://mattjbray.github.io/ocaml-decoders/decoders-sexplib" | ||
bug-reports: "https://github.com/mattjbray/ocaml-decoders/issues" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,19 @@ opam-version: "2.0" | |
maintainer: "Matt Bray <[email protected]>" | ||
authors: ["Matt Bray <[email protected]>"] | ||
synopsis: "Interface to yojson for decoders" | ||
description: """ | ||
A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`. | ||
|
||
> Eh? | ||
|
||
An Ocaml program having a JSON (or YAML) data source usually goes something like this: | ||
|
||
1. Get your data from somewhere. Now you have a `string`. | ||
2. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`. | ||
3. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain. | ||
|
||
This library helps with step 3. | ||
""" | ||
homepage: "https://github.com/mattjbray/ocaml-decoders" | ||
doc: "https://mattjbray.github.io/ocaml-decoders/decoders-yojson" | ||
bug-reports: "https://github.com/mattjbray/ocaml-decoders/issues" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
opam-version: "2.0" | ||
synopsis: "Elm-inspired decoders for Ocaml" | ||
description: """ | ||
A combinator library for "decoding" JSON-like values into your own Ocaml types, inspired by Elm's `Json.Decode` and `Json.Encode`. | ||
|
||
> Eh? | ||
|
||
An Ocaml program having a JSON (or YAML) data source usually goes something like this: | ||
|
||
1. Get your data from somewhere. Now you have a `string`. | ||
2. *Parse* the `string` as JSON (or YAML). Now you have a `Yojson.Basic.json`, or maybe an `Ezjsonm.value`, or perhaps a `Ocyaml.yaml`. | ||
3. *Decode* the JSON value to an Ocaml type that's actually useful for your program's domain. | ||
|
||
This library helps with step 3. | ||
""" | ||
maintainer: "Matt Bray <[email protected]>" | ||
authors: ["Matt Bray <[email protected]>"] | ||
homepage: "https://github.com/mattjbray/ocaml-decoders" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters