Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

Zaid-Ajaj/FSharp.SimpleJson

Repository files navigation

FSharp.SimpleJson Nuget Build Status

A library for easily parsing, transforming and converting JSON in F#. Ported from Fable.SimpleJson

Installation

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

Using the library

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

About

A library for easily parsing, transforming and converting JSON in F#, ported from Fable.SimpleJson

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published