libcudf
24.02.00
|
Settings for get_json_object()
.
More...
#include <json.hpp>
Public Member Functions | |
get_json_object_options ()=default | |
Default constructor. | |
CUDF_HOST_DEVICE bool | get_allow_single_quotes () const |
Returns true/false depending on whether single-quotes for representing strings are allowed. More... | |
CUDF_HOST_DEVICE bool | get_strip_quotes_from_single_strings () const |
Returns true/false depending on whether individually returned string values have their quotes stripped. More... | |
CUDF_HOST_DEVICE bool | get_missing_fields_as_nulls () const |
Whether a field not contained by an object is to be interpreted as null. More... | |
void | set_allow_single_quotes (bool _allow_single_quotes) |
Set whether single-quotes for strings are allowed. More... | |
void | set_strip_quotes_from_single_strings (bool _strip_quotes_from_single_strings) |
Set whether individually returned string values have their quotes stripped. More... | |
void | set_missing_fields_as_nulls (bool _missing_fields_as_nulls) |
Set whether missing fields are interpreted as null. More... | |
Settings for get_json_object()
.
Definition at line 36 of file json/json.hpp.
|
inline |
Returns true/false depending on whether single-quotes for representing strings are allowed.
Definition at line 58 of file json/json.hpp.
|
inline |
Whether a field not contained by an object is to be interpreted as null.
When set to true, if an object is queried for a field it does not contain, a null is returned.
Definition at line 113 of file json/json.hpp.
|
inline |
Returns true/false depending on whether individually returned string values have their quotes stripped.
When set to true, if the return value for a given row is an individual string (not an object, or an array of strings), strip the quotes from the string and return only the contents of the string itself. Example:
Definition at line 87 of file json/json.hpp.
|
inline |
Set whether single-quotes for strings are allowed.
_allow_single_quotes | bool indicating desired behavior. |
Definition at line 123 of file json/json.hpp.
|
inline |
Set whether missing fields are interpreted as null.
_missing_fields_as_nulls | bool indicating desired behavior. |
Definition at line 143 of file json/json.hpp.
|
inline |
Set whether individually returned string values have their quotes stripped.
_strip_quotes_from_single_strings | bool indicating desired behavior. |
Definition at line 133 of file json/json.hpp.