hermes-json-0.2.0.1: Fast JSON decoding via simdjson C++ bindings
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Hermes.SIMDJSON.Types

Synopsis

simdjson Opaque Types

newtype Array Source #

A reference to an opaque simdjson::ondemand::array.

Constructors

Array (Ptr JSONArray) 

newtype ArrayIter Source #

A reference to an opaque simdjson::ondemand::array_iterator.

Constructors

ArrayIter (Ptr JSONArrayIter) 

newtype Document Source #

A reference to an opaque simdjson::ondemand::document.

Constructors

Document (Ptr SIMDDocument) 

newtype InputBuffer Source #

A reference to an opaque simdjson::padded_string.

Constructors

InputBuffer (Ptr PaddedString) 

data JSONArray Source #

Phantom type for a pointer to simdjson::ondemand::array.

data JSONArrayIter Source #

Phantom type for a pointer to simdjson::ondemand::array_iterator

data JSONObject Source #

Phantom type for a pointer to simdjson::ondemand::object.

data JSONObjectIter Source #

Phantom type for a pointer to simdjson::ondemand::object_iterator

data JSONValue Source #

Phantom type for a pointer to simdjson::ondemand::value.

newtype Object Source #

A reference to an opaque simdjson::ondemand::object.

Constructors

Object (Ptr JSONObject) 

newtype ObjectIter Source #

A reference to an opaque simdjson::ondemand::object_iterator.

Constructors

ObjectIter (Ptr JSONObjectIter) 

data PaddedString Source #

Phantom type for a pointer to simdjson::padded_string.

newtype Parser Source #

A reference to an opaque simdjson::ondemand::parser.

Constructors

Parser (Ptr SIMDParser) 

data SIMDDocument Source #

Phantom type for a pointer to simdjson::ondemand::document.

data SIMDErrorCode Source #

Enum for simdjson errors.

data SIMDParser Source #

Phantom type for a pointer to simdjson::ondemand::parser.

newtype Value Source #

A reference to an opaque simdjson::ondemand::value.

Constructors

Value (Ptr JSONValue)