asdf.jsonparser

JSON Parsing API

Members

Enums

AsdfErrorCode
enum AsdfErrorCode
Undocumented in source.
minsize
enum minsize
Undocumented in source.

Functions

_expect
T _expect(T val, T expected_val)
Undocumented in source. Be warned that the author may not have intended to support it.
assumePure
auto assumePure(T t)
Undocumented in source. Be warned that the author may not have intended to support it.
callPure
auto callPure(T args)
Undocumented in source. Be warned that the author may not have intended to support it.
encodeUTF8
void encodeUTF8(dchar c, ubyte* ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
isJsonLineWhitespace
bool isJsonLineWhitespace(size_t c)
Undocumented in source. Be warned that the author may not have intended to support it.
isJsonNumber
bool isJsonNumber(size_t c)
Undocumented in source. Be warned that the author may not have intended to support it.
isJsonWhitespace
bool isJsonWhitespace(size_t c)
Undocumented in source. Be warned that the author may not have intended to support it.
isPlainJsonCharacter
bool isPlainJsonCharacter(size_t c)
Undocumented in source. Be warned that the author may not have intended to support it.
jsonParser
auto jsonParser(Allocator allocator, Input input)
parseJson
Asdf parseJson(Chunks chunks, size_t initLength)

Parses json value

parseJson
Asdf parseJson(char[] str, Allocator allocator)
Asdf parseJson(char[] str)

Parses json value

parseJsonByLine
deprecated auto parseJsonByLine(Input input, sizediff_t initBufferLength)
Undocumented in source. Be warned that the author may not have intended to support it.
parseJsonByLine
auto parseJsonByLine(Input input)

Parses JSON value in each line from a Range of buffers.

Imports

_expect (from ldc.intrinsics)
public import ldc.intrinsics : _expect = llvm_expect;
Undocumented in source.

Manifest constants

minsize
enum minsize;
Undocumented in source.

Structs

JsonParser
struct JsonParser(bool includingNewLine, bool hasSpaces, bool assumeValid, Allocator, Input = const(ubyte)[])

Variables

test_data
string test_data;
Undocumented in source.

Meta

Authors

Ilia Ki