PostgreSQL Source Code  git master
JsonbValue Struct Reference

#include <jsonb.h>

Data Fields

enum jbvType type
 
union {
   Numeric   numeric
 
   bool   boolean
 
   struct {
      int   len
 
      char *   val
 
   }   string
 
   struct {
      int   nElems
 
      JsonbValue *   elems
 
      bool   rawScalar
 
   }   array
 
   struct {
      int   nPairs
 
      JsonbPair *   pairs
 
   }   object
 
   struct {
      int   len
 
      JsonbContainer *   data
 
   }   binary
 
   struct {
      Datum   value
 
      Oid   typid
 
      int32   typmod
 
      int   tz
 
   }   datetime
 
val
 

Detailed Description

Definition at line 261 of file jsonb.h.

Field Documentation

◆ array

struct { ... } JsonbValue::array

◆ binary

struct { ... } JsonbValue::binary

◆ boolean

bool JsonbValue::boolean

Definition at line 268 of file jsonb.h.

◆ data

JsonbContainer* JsonbValue::data

Definition at line 291 of file jsonb.h.

◆ datetime

struct { ... } JsonbValue::datetime

◆ elems

JsonbValue* JsonbValue::elems

Definition at line 278 of file jsonb.h.

◆ len

int JsonbValue::len

Definition at line 271 of file jsonb.h.

◆ nElems

int JsonbValue::nElems

Definition at line 277 of file jsonb.h.

◆ nPairs

int JsonbValue::nPairs

Definition at line 284 of file jsonb.h.

◆ numeric

Numeric JsonbValue::numeric

Definition at line 267 of file jsonb.h.

◆ object

struct { ... } JsonbValue::object

◆ pairs

JsonbPair* JsonbValue::pairs

Definition at line 285 of file jsonb.h.

◆ rawScalar

bool JsonbValue::rawScalar

Definition at line 279 of file jsonb.h.

◆ string

struct { ... } JsonbValue::string

◆ type

enum jbvType JsonbValue::type

Definition at line 263 of file jsonb.h.

Referenced by addJsonbToParseState(), appendBoolResult(), appendElement(), appendKey(), appendValue(), compareItems(), compareJsonbContainers(), compareJsonbScalarValue(), composite_to_jsonb(), convertJsonbScalar(), convertJsonbValue(), convertToJsonb(), datum_to_jsonb(), each_worker_jsonb(), elements_worker_jsonb(), equalsJsonbScalarValue(), executeAnyItem(), executeBinaryArithmExpr(), executeDateTimeMethod(), executeItemOptUnwrapResult(), executeItemOptUnwrapTarget(), executeItemUnwrapTargetArray(), executeKeyValueMethod(), executeNumericItemMethod(), extract_jsp_bool_expr(), fillJsonbValue(), findJsonbValueFromContainer(), get_jsonb_path_all(), getJsonPathItem(), getJsonPathVariable(), getScalar(), gin_extract_jsonb(), hstore_to_jsonb(), hstore_to_jsonb_loose(), HV_to_JsonbValue(), iterate_jsonb_values(), jsonb_agg_transfn(), jsonb_array_element_text(), jsonb_bool(), jsonb_delete(), jsonb_delete_array(), jsonb_exists(), jsonb_exists_all(), jsonb_exists_any(), jsonb_float4(), jsonb_float8(), jsonb_in_object_field_start(), jsonb_in_scalar(), jsonb_int2(), jsonb_int4(), jsonb_int8(), jsonb_numeric(), jsonb_object(), jsonb_object_agg_transfn(), jsonb_object_field_text(), jsonb_object_two_arg(), jsonb_ops__extract_nodes(), jsonb_path_match_internal(), jsonb_path_ops__add_path_item(), jsonb_put_escaped_value(), jsonb_strip_nulls(), JsonbArraySize(), JsonbDeepContains(), JsonbExtractScalar(), JsonbHashScalarValue(), JsonbHashScalarValueExtended(), JsonbInitBinary(), JsonbIteratorNext(), JsonbType(), JsonbTypeName(), JsonbValue_to_SV(), JsonbValueAsText(), JsonbValueToJsonb(), JsValueToJsObject(), lengthCompareJsonbStringValue(), make_scalar_key(), parse_jsonb_index_flags(), PLyMapping_ToJsonbValue(), PLyNumber_ToJsonbValue(), PLyObject_FromJsonbValue(), PLyObject_ToJsonbValue(), PLyString_FromJsonbValue(), PLyString_ToJsonbValue(), populate_array_dim_jsonb(), populate_record_worker(), populate_recordset_worker(), populate_scalar(), pushJsonbValue(), pushJsonbValueScalar(), setBaseObject(), setPathObject(), SV_to_JsonbValue(), transform_jsonb_string_values(), and uniqueifyJsonbObject().

◆ typid

Oid JsonbValue::typid

Definition at line 297 of file jsonb.h.

◆ typmod

int32 JsonbValue::typmod

Definition at line 298 of file jsonb.h.

◆ tz

int JsonbValue::tz

Definition at line 299 of file jsonb.h.

◆ val [1/2]

char* JsonbValue::val

Definition at line 272 of file jsonb.h.

Referenced by appendBoolResult(), appendElement(), appendKey(), compareItems(), compareJsonbContainers(), compareJsonbScalarValue(), composite_to_jsonb(), convertJsonbArray(), convertJsonbObject(), convertJsonbScalar(), datum_to_jsonb(), each_worker_jsonb(), equalsJsonbScalarValue(), executeAnyItem(), executeBinaryArithmExpr(), executeDateTimeMethod(), executeItemOptUnwrapTarget(), executeItemUnwrapTargetArray(), executeKeyValueMethod(), executeLikeRegex(), executeNumericItemMethod(), executeStartsWith(), executeUnaryArithmExpr(), extract_jsp_bool_expr(), fillJsonbValue(), findJsonbValueFromContainer(), get_jsonb_path_all(), getArrayIndex(), getJsonPathItem(), getJsonPathVariable(), getScalar(), hstore_to_jsonb(), hstore_to_jsonb_loose(), HV_to_JsonbValue(), iterate_jsonb_values(), jsonb_agg_transfn(), jsonb_bool(), jsonb_delete(), jsonb_delete_array(), jsonb_delete_idx(), jsonb_exists(), jsonb_exists_all(), jsonb_exists_any(), jsonb_float4(), jsonb_float8(), jsonb_in_object_field_start(), jsonb_in_scalar(), jsonb_int2(), jsonb_int4(), jsonb_int8(), jsonb_numeric(), jsonb_object(), jsonb_object_agg_transfn(), jsonb_object_keys(), jsonb_object_two_arg(), jsonb_path_match_internal(), jsonb_path_ops__add_path_item(), jsonb_put_escaped_value(), Jsonb_to_SV(), JsonbArraySize(), JsonbDeepContains(), JsonbExtractScalar(), JsonbHashScalarValue(), JsonbHashScalarValueExtended(), JsonbInitBinary(), JsonbIteratorNext(), JsonbToCStringWorker(), JsonbType(), JsonbTypeName(), JsonbValue_to_SV(), JsonbValueAsText(), JsonbValueToJsonb(), JsValueToJsObject(), lengthCompareJsonbStringValue(), make_scalar_key(), parse_jsonb_index_flags(), PLyMapping_ToJsonbValue(), PLyNumber_ToJsonbValue(), PLyObject_FromJsonbContainer(), PLyObject_FromJsonbValue(), PLyObject_ToJsonbValue(), PLyString_FromJsonbValue(), PLyString_ToJsonbValue(), populate_array_dim_jsonb(), populate_record_worker(), populate_recordset_worker(), populate_scalar(), pushJsonbValue(), pushJsonbValueScalar(), setBaseObject(), setPath(), setPathObject(), SV_to_JsonbValue(), transform_jsonb_string_values(), and uniqueifyJsonbObject().

◆ val [2/2]

union { ... } JsonbValue::val

◆ value

Datum JsonbValue::value

Definition at line 296 of file jsonb.h.


The documentation for this struct was generated from the following file: