gn24_to_24

Classes

DefaultMangler

Simple JSON <https://json.org> decoder

ResourceBaseMangler

Simple JSON <https://json.org> decoder

LayerMangler

Simple JSON <https://json.org> decoder

LayerAttributesMangler

Simple JSON <https://json.org> decoder

MapLayersMangler

Simple JSON <https://json.org> decoder

Module Contents

class gn24_to_24.DefaultMangler(*args, **kwargs)[source]

Bases: json.JSONDecoder

Simple JSON <https://json.org> decoder

Performs the following translations in decoding by default:

JSON

Python

object

dict

array

list

string

str

number (int)

int

number (real)

float

true

True

false

False

null

None

It also understands NaN, Infinity, and -Infinity as their corresponding float values, which is outside the JSON spec.

basepk[source]
owner[source]
datastore[source]
siteurl[source]
default(obj)[source]
decode(json_string)[source]

json_string is basicly string that you give to json.loads method

class gn24_to_24.ResourceBaseMangler(*args, **kwargs)[source]

Bases: DefaultMangler

Simple JSON <https://json.org> decoder

Performs the following translations in decoding by default:

JSON

Python

object

dict

array

list

string

str

number (int)

int

number (real)

float

true

True

false

False

null

None

It also understands NaN, Infinity, and -Infinity as their corresponding float values, which is outside the JSON spec.

default(obj)[source]
decode(json_string)[source]

json_string is basicly string that you give to json.loads method

add_upload_session(pk, owner)[source]
class gn24_to_24.LayerMangler(*args, **kwargs)[source]

Bases: DefaultMangler

Simple JSON <https://json.org> decoder

Performs the following translations in decoding by default:

JSON

Python

object

dict

array

list

string

str

number (int)

int

number (real)

float

true

True

false

False

null

None

It also understands NaN, Infinity, and -Infinity as their corresponding float values, which is outside the JSON spec.

default(obj)[source]
decode(json_string)[source]

json_string is basicly string that you give to json.loads method

class gn24_to_24.LayerAttributesMangler(*args, **kwargs)[source]

Bases: DefaultMangler

Simple JSON <https://json.org> decoder

Performs the following translations in decoding by default:

JSON

Python

object

dict

array

list

string

str

number (int)

int

number (real)

float

true

True

false

False

null

None

It also understands NaN, Infinity, and -Infinity as their corresponding float values, which is outside the JSON spec.

default(obj)[source]
decode(json_string)[source]

json_string is basicly string that you give to json.loads method

class gn24_to_24.MapLayersMangler(*args, **kwargs)[source]

Bases: DefaultMangler

Simple JSON <https://json.org> decoder

Performs the following translations in decoding by default:

JSON

Python

object

dict

array

list

string

str

number (int)

int

number (real)

float

true

True

false

False

null

None

It also understands NaN, Infinity, and -Infinity as their corresponding float values, which is outside the JSON spec.

default(obj)[source]
decode(json_string)[source]

json_string is basicly string that you give to json.loads method