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.

Default

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

Type declaration

  • Optional knownTypes?: Map<`http://${string}` | `https://${string}`, string[]>
serializer?: Serializer

Set the serializer used for serializing.

Default

TypedJSON JSON serializer
sourceObject?: any
targetObject?: any