FsStorm


Json

Namespace: global
Parent Module: FsJson

VARIANT-like type with dynamic accessor (?) to fields

Union Cases

Union CaseDescription
JsonArray(Json array)
Signature: Json array
JsonBool(bool)
Signature: bool
JsonFloat(float)
Signature: float
JsonInt(int)
Signature: int
JsonNull
Signature:
JsonObject(Map<string,Json>)
Signature: Map<string,Json>
JsonString(String)
Signature: String

Instance members

Instance memberDescription
Array
Signature: Json array

get a Array value

Count
Signature: int
HasName(k)
Signature: k:string -> bool
IsNotNull
Signature: bool
[index]
Signature: index:int -> Json
Map
Signature: Map<string,Json>

get a Json class/object/map value

Named(index)
Signature: index:string -> Json

get a field by name

Names
Signature: string list
Remove(name)
Signature: name:string -> Json
Val
Signature: String

get a string value

ValB
Signature: bool

get a boolean value

ValD
Signature: DateTime

get a DateTime value

ValDF(format)
Signature: format:string -> DateTime

get a DateTime using specific format value

ValDO
Signature: DateTimeOffset

get a DateTimeOffset value

ValF
Signature: float

get a float value

ValGuid
Signature: Guid

get a Guid value

ValI
Signature: int

get a int32 value

Static members

Static memberDescription
( ? )(a, p)
Signature: (a:Json * p:string) -> Json
( ?<- )(a, k, v)
Signature: (a:Json * k:string * v:Json) -> Json
Fork me on GitHub