Interface UnsupportedValue

All Superinterfaces:
Value
All Known Implementing Classes:
UnsupportedValueImpl

public interface UnsupportedValue extends Value
Represents a value with an unsupported datatype. We can still "deserialize" it by just storing its JSON representation, so that it can be serialized back to its original representation. This avoids parsing failures on documents containing these values.
Author:
Antonin Delpeuch
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the type string found in the JSON representation of this value.

    Methods inherited from interface org.wikidata.wdtk.datamodel.interfaces.Value

    accept
  • Method Details

    • getTypeJsonString

      String getTypeJsonString()
      Returns the type string found in the JSON representation of this value.
      Returns:
      the value of "type" in the JSON representation of this value.