graphql.helper

Undocumented in source.

Members

Enums

JoinJsonPrecedence
enum JoinJsonPrecedence
Undocumented in source.

Functions

accessNN
auto accessNN(T tmp0)
Undocumented in source. Be warned that the author may not have intended to support it.
dToString
string dToString(Date dt)
Undocumented in source. Be warned that the author may not have intended to support it.
dataIsEmpty
bool dataIsEmpty(const(Json) data)
Undocumented in source. Be warned that the author may not have intended to support it.
dataIsNull
bool dataIsNull(const(Json) data)
Undocumented in source. Be warned that the author may not have intended to support it.
dtToString
string dtToString(DateTime dt)
Undocumented in source. Be warned that the author may not have intended to support it.
extract
T extract(Json data, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
firstCharUpperCase
string firstCharUpperCase(string input)
Undocumented in source. Be warned that the author may not have intended to support it.
getTypename
string getTypename(T input)
Undocumented in source. Be warned that the author may not have intended to support it.
getWithDefault
T getWithDefault(Json data, string[] paths)
getWithPath
Json getWithPath(Json input, string path)
Undocumented in source. Be warned that the author may not have intended to support it.
hasPathTo
bool hasPathTo(Json data, string path, T ret)
Undocumented in source. Be warned that the author may not have intended to support it.
insertError
void insertError(Json result, T t)
Undocumented in source. Be warned that the author may not have intended to support it.
insertError
void insertError(Json result, T t, PathElement[] path)
Undocumented in source. Be warned that the author may not have intended to support it.
insertPayload
void insertPayload(Json result, string field, Json data)
Undocumented in source. Be warned that the author may not have intended to support it.
isScalar
bool isScalar(const(Json) data)
Undocumented in source. Be warned that the author may not have intended to support it.
joinJson
Json joinJson(Json a, Json b)

Merge two Json objects. Values in a take precedence over values in b.

jsonTo
T jsonTo(Json item)
Undocumented in source. Be warned that the author may not have intended to support it.
lexAndParse
const(Document) lexAndParse(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
returnTemplate
Json returnTemplate()
Undocumented in source. Be warned that the author may not have intended to support it.
stringToDT
DateTime stringToDT(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
stringTypeStrip
StringTypeStrip stringTypeStrip(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
toGraphqlJson
Json toGraphqlJson(T input)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

d
enum d;
Undocumented in source.
e
enum e;
Undocumented in source.

Structs

PathElement
struct PathElement
Undocumented in source.
StringTypeStrip
struct StringTypeStrip
Undocumented in source.

Templates

isClass
template isClass(T)
Undocumented in source.
isNotInTypeSet
template isNotInTypeSet(T, R...)
Undocumented in source.
toType
template toType(T)
Undocumented in source.

Meta