Documentation ¶
Overview ¶
Gob is an endpoint for encoding and decoding of mathematical objects.
Universes ¶
- [integers]: An Object is of the form: { "Array": [string, ..., string] // required }
Here Array is an array of string representations of integers.
- [rationals]: An Object is of the form: { "Array": [string, ..., string] // required }
Here Array is an array of string representations of rationals.
Operations ¶
- universes: The Arguments are empty. The Result is of the form: { "Universes": [string, ..., string] }
Here Universes is an array of all supported universes.
- encode: The Arguments are of the form: { "Universe": string, // required "Value": Object // required }
Here the type Object of value depends on the universe. The Result is of the form:
{ "Universe": string, "Encoding": string }
- decode: The Arguments are of the form: { "Universe": string, // required "Encoding": string // required }
The Result is of the form:
{ "Universe": string, "Value": Object }
Here the type Object of value depends on the universe.
Click to show internal directories.
Click to hide internal directories.