serializeToJSONValue

Convert the specified struct or class into a JSONValue.

  1. JSONValue serializeToJSONValue(T array)
  2. JSONValue serializeToJSONValue(T associativeArray)
  3. JSONValue serializeToJSONValue(T obj)
    @safe pure
    JSONValue
    serializeToJSONValue
    (
    T
    )
    (
    in ref T obj
    )
    if (
    is(T == struct) ||
    is(T == class)
    )

Meta