ATSLIB/contrib/json-c/json_object


  • json_object2ptr
  • json_object_get
  • json_object_put
  • json_object_is_type
  • json_object_get_type
  • json_object_to_json_string
  • json_object_to_json_string_ext
  • print_json_object
  • print_json_object_ext
  • prerr_json_object
  • prerr_json_object_ext
  • fprint_json_object
  • fprint_json_object_ext
  • json_object_new_boolean
  • json_object_get_boolean
  • json_object_new_int
  • json_object_get_int
  • json_object_new_int64
  • json_object_get_int64
  • json_object_new_double
  • json_object_get_double
  • json_object_new_string
  • json_object_new_string_len
  • json_object_get_string
  • json_object_get_string_len
  • json_object_new_array
  • json_object_get_array
  • json_object_array_length
  • json_object_array_add
  • json_object_array_get_idx
  • json_object_array_put_idx
  • json_object_array_put2_idx
  • json_object_new_object
  • json_object_get_object
  • jsob_object_object_length
  • json_object_object_add
  • json_object_object_del
  • json_object_object_get
  • json_object_iforeach
  • json_object_iforeach_env
  • json_object_iforeach$cont
  • json_object_iforeach$fwork
  • json_object_kforeach
  • json_object_kforeach_env
  • json_object_kforeach$cont
  • json_object_kforeach$fwork
  • Overloaded Symbols
  • iseqz
  • isneqz
  • print
  • prerr
  • fprint

  • json_object2ptr

    Synopsis

    castfn
    json_object2ptr
      {l:addr} (al: !json_object (l)):<> ptr (l)

    json_object_get

    Synopsis

    fun json_object_get{l:addr}
      (jso: !json_object(l)): json_object(l) = "mac#%"

    json_object_put

    Synopsis

    fun json_object_put (jso: json_object0): int = "mac#%"

    json_object_is_type

    Synopsis

    fun json_object_is_type
      (jso: !json_object0, type: json_type):<> int = "mac#%"

    json_object_get_type

    Synopsis

    fun json_object_get_type
      (jso: !json_object0):<> json_type = "mac#%"

    json_object_to_json_string

    Synopsis

    fun json_object_to_json_string
      (jso: !json_object0): vStrptr1 = "mac#%"

    json_object_to_json_string_ext

    Synopsis

    fun json_object_to_json_string_ext
      (jso: !json_object0, flags: int): vStrptr1 = "mac#%"

    print_json_object

    Synopsis

    fun{
    } print_json_object (jso: !json_object0): void

    print_json_object_ext

    Synopsis

    fun{
    } print_json_object_ext (jso: !json_object0, flags: int): void

    prerr_json_object

    Synopsis

    fun{
    } prerr_json_object (jso: !json_object0): void

    prerr_json_object_ext

    Synopsis

    fun{
    } prerr_json_object_ext (jso: !json_object0, flags: int): void

    fprint_json_object

    Synopsis

    fun{
    } fprint_json_object
      (out: FILEref, jso: !json_object0): void

    fprint_json_object_ext

    Synopsis

    fun{
    } fprint_json_object_ext
      (out: FILEref, jso: !json_object0, flags: int): void

    json_object_new_boolean

    Synopsis

    fun json_object_new_boolean (b: json_bool): json_object0 = "mac#%"

    json_object_get_boolean

    Synopsis

    fun json_object_get_boolean (obj: !json_object1): json_bool = "mac#%"

    json_object_new_int

    Synopsis

    fun json_object_new_int (i: int32): json_object0 = "mac#%"

    json_object_get_int

    Synopsis

    fun json_object_get_int (obj: !json_object1): int32 = "mac#%"

    json_object_new_int64

    Synopsis

    fun json_object_new_int64 (i: int64): json_object0 = "mac#%"

    json_object_get_int64

    Synopsis

    fun json_object_get_int64 (obj: !json_object1): int64 = "mac#%"

    json_object_new_double

    Synopsis

    fun json_object_new_double (d: double): json_object0 = "mac#%"

    json_object_get_double

    Synopsis

    fun json_object_get_double (obj: !json_object1): double = "mac#%"

    json_object_new_string

    Synopsis

    fun json_object_new_string (s: string): json_object0 = "mac#%"

    json_object_new_string_len

    Synopsis

    fun json_object_new_string_len (s: string, len: intGte(0)): json_object0 = "mac#%"

    json_object_get_string

    Synopsis

    fun json_object_get_string (jso: !json_object1): vStrptr1 = "mac#%"

    json_object_get_string_len

    Synopsis

    fun json_object_get_string_len (jso: !json_object1): intGte(0) = "mac#%"

    json_object_new_array

    Synopsis

    fun json_object_new_array (): json_object0 = "mac#%"

    json_object_get_array

    Synopsis

    fun json_object_get_array
      {l:agz} (jso: !json_object(l))
      : [l2:agez] vtget0 (json_object(l), array_list(l2)) = "mac#%"

    json_object_array_length

    Synopsis

    fun json_object_array_length (jso: !json_object1): intGte(0) = "mac#%"

    json_object_array_add

    Synopsis

    fun json_object_array_add
      (jso: !json_object1, _val: json_object0): int = "mac#%"

    json_object_array_get_idx

    Synopsis

    fun
    json_object_array_get_idx{l:agz}
    (
      jso: !json_object(l), idx: intGte(0)
    ) : [l2:agez] vtget0 (json_object(l), json_object(l2)) = "mac#%"

    json_object_array_put_idx

    Synopsis

    fun
    json_object_array_put_idx
      {l:agz;l2:addr} (
      jso: !json_object(l), idx: intGte(0)
    , _val: !json_object(l2) >> opt (json_object(l2), i < 0)
    ) : #[i:int | i <= 0] int (i) = "mac#%"

    json_object_array_put2_idx

    Synopsis

    fun json_object_array_put2_idx
      (jso: !json_object1, idx: intGte(0), _val: json_object0): int = "mac#%"

    json_object_new_object

    Synopsis

    fun json_object_new_object (): json_object0 = "mac#%"

    json_object_get_object

    Synopsis

    fun
    json_object_get_object
      {l:agz} (jso: !json_object(l))
      : [l2:agez] vtget0 (json_object(l), lh_table(l2)) = "mac#%"

    jsob_object_object_length

    Synopsis

    fun jsob_object_object_length (jso: !json_object1): intGte(0) = "mac#%"

    json_object_object_add

    Synopsis

    fun json_object_object_add
    (
      jso: !json_object1, key: string, jso_val: json_object0(*consumed*)
    ) : void = "mac#%" // end of [json_object_object_add]

    json_object_object_del

    Synopsis

    fun json_object_object_del (jso: !json_object1, key: string): void = "mac#%"

    json_object_object_get

    Synopsis

    fun
    json_object_object_get{l:agz}
    (
      jso: !json_object(l), key: string
    ) : [l2:agez] vtget0 (json_object(l), json_object(l2)) = "mac#%"

    json_object_iforeach

    Synopsis

    fun{}
    json_object_iforeach (jso: !json_object1): void

    Description

    This function is a special case of json_object_iforeach_env where the third argument named env is ignored.

    json_object_iforeach_env

    Synopsis

    fun{env:vt0p}
    json_object_iforeach_env (jso: !json_object1, env: &env >> _): void

    Description

    This function can be employed to traverse the fields of a given json array.

    json_object_iforeach$cont

    Synopsis

    fun{env:vt0p}
    json_object_iforeach$cont
      (i: int, v: !json_object0, env: &env): bool

    json_object_iforeach$fwork

    Synopsis

    fun{env:vt0p}
    json_object_iforeach$fwork
      (i: int, v: !json_object0, env: &env >> _): void

    json_object_kforeach

    Synopsis

    fun{}
    json_object_kforeach (jso: !json_object1): void

    Description

    This function is a special case of json_object_kforeach_env where the third argument named env is ignored.

    json_object_kforeach_env

    Synopsis

    fun{env:vt0p}
    json_object_kforeach_env (jso: !json_object1, env: &env >> _): void

    Description

    This function can be employed to traverse the fields of a given json object.

    json_object_kforeach$cont

    Synopsis

    fun{env:vt0p}
    json_object_kforeach$cont
      (k: !Strptr1, v: !json_object0, env: &env): bool

    json_object_kforeach$fwork

    Synopsis

    fun{env:vt0p}
    json_object_kforeach$fwork
      (k: !Strptr1, v: !json_object0, env: &env >> _): void

    Overloaded Symbols


    iseqz

    Synopsis

    overload iseqz with json_object_is_null

    isneqz

    Synopsis

    overload isneqz with json_object_isnot_null

    print

    Synopsis

    overload print with print_json_object
    overload print with print_json_object_ext

    prerr

    Synopsis

    overload prerr with prerr_json_object
    overload prerr with prerr_json_object_ext

    fprint

    Synopsis

    overload fprint with fprint_json_object
    overload fprint with fprint_json_object_ext

    This page is created with ATS by Hongwei Xi and also maintained by Hongwei Xi. SourceForge.net Logo