TaggedType provides the encoding/decoding of the Fauna Tagged Type formatting

Constructors

Methods

  • Decode the JSON string result from Fauna to remove Tagged Type formatting.

    Parameters

    • input: string

      JSON string result from Fauna

    • decodeOptions: DecodeOptions

    Returns any

    object of result of FQL query

  • Encode the value to the Tagged Type format for Fauna

    Parameters

    Returns TaggedType

    Map of result