Type Alias RDFSerializerOptions

RDFSerializerOptions: {
    deserializer?: ((thing: Thing, targetObject?: any, options?: MemberDeserializerOptions) => any);
    identifier?: boolean;
    query?: string;
    serializer?: false | ((value: any, object?: any, options?: MemberSerializerOptions) => Partial<Thing | Quad_Object>);
} & (RDFLiteralOptions | RDFIdentifierOptions)

Type declaration

  • Optionaldeserializer?: ((thing: Thing, targetObject?: any, options?: MemberDeserializerOptions) => any)

    Custom (partial) deserializer for this member.

  • Optionalidentifier?: boolean

    Specify if the member is an identifier

  • Optionalquery?: string

    Custom SPARQL query to deserialize this data member

  • Optionalserializer?: false | ((value: any, object?: any, options?: MemberSerializerOptions) => Partial<Thing | Quad_Object>)

    Custom (partial) serializer for this member.