Skip to content

API / geotoolkit / persistence / ObjectSerializer / ObjectSerializer

Class: ObjectSerializer

persistence.ObjectSerializer.ObjectSerializer

The abstract serializer

Interface

Table of contents

Constructors
  • [new ObjectSerializer()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.persistence.objectserializer.objectserializer.md#new objectserializer())
Methods

Contents

Constructors

new ObjectSerializer()

• new ObjectSerializer()

Methods

load

▸ Abstract load(context, object?): any

Load object from context

Parameters

Name Type Description
contextDeserializationContextcontext to save
Optional objectanyobject save properties

Returns

any


save

▸ Abstract save(object, context): void

Save object to context

Parameters

Name Type Description
objectanyobject to save
contextSerializationContextcontext to save

Returns

void