@openhps/rdf
    Preparing search index...

    Interface MappedRDFTypeConverters<T>

    interface MappedRDFTypeConverters<T> {
        deserializer?: (thing: Thing, instance?: T) => T;
        serializer?: (
            object: T,
            baseUri?: `http://${string}` | `https://${string}`,
        ) => Quad_Object | Partial<Thing>;
    }

    Type Parameters

    • T
    Index

    Properties

    deserializer?: (thing: Thing, instance?: T) => T

    Custom (partial) deserializer for this object.

    serializer?: (
        object: T,
        baseUri?: `http://${string}` | `https://${string}`,
    ) => Quad_Object | Partial<Thing>

    Custom (partial) serializer for this object.