Interface RDFSerializerConfig

interface RDFSerializerConfig {
    baseUri?: `http://${string}` | `https://${string}`;
    deserializer?: Deserializer;
    rdf?: {
        knownTypes?: Map<`http://${string}` | `https://${string}`, string[]>;
    };
    serializer?: Serializer;
    sourceObject?: any;
    targetObject?: any;
}

Hierarchy

  • DataSerializerConfig
    • RDFSerializerConfig

Properties

baseUri?: `http://${string}` | `https://${string}`

Base URI for serializing individuals

deserializer?: Deserializer

Set the deserializer used for deserializing.

TypedJSON JSON deserializer
rdf?: {
    knownTypes?: Map<`http://${string}` | `https://${string}`, string[]>;
}
serializer?: Serializer

Set the serializer used for serializing.

TypedJSON JSON serializer
sourceObject?: any
targetObject?: any