modulepackage
0.0.0-20200210175146-21db5a43a1ee
Repository: https://github.com/fwessels/simdjson-go.git
Documentation: pkg.go.dev
# README
simdjson-go
This repository has moved to github.com/minio/simdjson-go.
# Packages
No description provided by the author
# Functions
NewSerializer will create and initialize a serializer.
Parse a block of data and return the parsed JSON.
ParseND will parse newline delimited JSON.
ParseNDStream will parse a stream and return parsed JSON to the supplied result channel.
SupportedCPU will return whether the CPU is supported.
# Constants
CompressBest.
CompressDefault applies light compression and deduplicates strings.
CompressFast will apply light compression, but will not deduplicate strings which may affect deserialization speed.
CompressNone no compression whatsoever.
No description provided by the author
The current parse_number() code has some precision issues (see PR "Exact float parsing", https://github.com/lemire/simdjson/pull/333)
An example of this (from canada.json): "-65.619720000000029" --> -65.61972000000004 instead of "-65.619720000000029" --> -65.61972000000003
There is a slower code path that uses Golang's Atoi() and ParseFloat()
For benchmarking GOLANG_NUMBER_PARSING is set to false.
Seems to be a good size for the index buffering.
Make sure we never write beyond buffer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Constants for "return address" modes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
TagToType converts a tag to type.
# Structs
Array represents a JSON array.
Element represents an element in an object.
Elements contains all elements in an object kept in original order.
Iter represents a section of JSON.
Object represents a JSON object.
No description provided by the author
Serializer allows to serialize parsed json and read it back.
A Stream is used to stream back results.
# Type aliases
No description provided by the author
Tag indicates the data type of a tape entry.
Type is a JSON value type.