Types
JsonValue = object start*, len*: int case kind*: JsonValueKind of StringValue, NumberValue, NullValue: nil of BooleanValue: b*: bool of ObjectValue: o*: seq[(string, JsonValue)] of ArrayValue: a*: seq[JsonValue]
- Source Edit
JsonValueKind = enum StringValue, NumberValue, BooleanValue, NullValue, ObjectValue, ArrayValue
- Source Edit
Procs
proc fromJson(v: var bool; value: JsonValue; input: string) {....gcsafe, raises: [CatchableError], tags: [], forbids: [].}
- Source Edit
proc fromJson(v: var char; value: JsonValue; input: string) {....gcsafe, raises: [CatchableError], tags: [], forbids: [].}
- Source Edit
proc fromJson(v: var RawJson; value: JsonValue; input: string) {....gcsafe, raises: [], tags: [], forbids: [].}
- Source Edit
proc fromJson(v: var std.JsonNode; value: JsonValue; input: string) {....gcsafe, raises: [CatchableError], tags: [], forbids: [].}
- Source Edit
proc fromJson(v: var string; value: JsonValue; input: string) {....gcsafe, raises: [CatchableError], tags: [], forbids: [].}
- Source Edit
proc fromJson[T](v: var (SomeSet[T] | set[T]); value: JsonValue; input: string) {. ...gcsafe.}
- Source Edit
proc toJson(src: char; s: var string) {....gcsafe, raises: [CatchableError], tags: [], forbids: [].}
- Source Edit
proc toJson(src: RawJson; s: var string) {....gcsafe, raises: [], tags: [], forbids: [].}
- Source Edit
proc toJson(src: std.JsonNode; s: var string) {....gcsafe, raises: [CatchableError], tags: [], forbids: [].}
- Source Edit
proc unescapeString(value: JsonValue; input: string): string {.inline, ...gcsafe, raises: [CatchableError], tags: [], forbids: [].}
- Source Edit