Documentation
¶
Overview ¶
Package original provides an example usage of unmarshalling JSON into a struct without using sync.Pool and allocating a new struct every time.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalObject ¶
UnmarshalObject writes jsonString into a *bytes.Buffer allocated each time UnmarshalObject is called and unmarshals the buffer into a *base.Object. It then returns the dereferenced base.Object. The *base.Object used is also allocated each time UnmarshalObject is called.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.