A library for easily parsing, transforming and converting JSON in F#. Ported from Fable.SimpleJson
Install from nuget using paket
paket add nuget FSharp.SimpleJson --project path/to/YourProject.fsproj
Make sure the references are added to your paket files
# paket.dependencies (solution-wide dependencies)
nuget FSharp.SimpleJson
# paket.refernces (project-specific dependencies)
FSharp.SimpleJson
JSON Parsing and Transformation API
open FSharp.SimpleJson
// ...
SimpleJson.parse : string -> Json
SimpleJson.tryParse : string -> Result<Json, string>
SimpleJson.toString : Json -> string
SimpleJson.mapKeys : (f: string -> string) -> Json -> Json
SimpleJson.mapKeysByPath : (f: string list -> string option) -> Json -> Json