Class/Object

lspace.parse.json

JsonLD

Related Docs: object JsonLD | package json

Permalink

class JsonLD extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonLD
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsonLD(graph: Graph)

    Permalink

Type Members

  1. sealed trait ResourceOrClassType[T] extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object ResourceOrClassType

    Permalink
  5. def addContext(builder: LDContextBuilder, json: JsonObject): JsonObject

    Permalink
  6. def addEdgesToJson[T](resource: Resource[T], builder: LDContextBuilder = LDContextBuilder()): (JsonObject, LDContextBuilder)

    Permalink
  7. def anyToJson(value: Any, eCT: List[ClassType[_]] = List(), builder: LDContextBuilder = LDContextBuilder()): (Json, LDContextBuilder)

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def ctListToJson(l: List[ClassType[_]], builder: LDContextBuilder = LDContextBuilder()): (Json, LDContextBuilder)

    Permalink
  11. def dataTypeToJson(dataType: DataType[_], builder: LDContextBuilder = LDContextBuilder()): (JsonObject, LDContextBuilder)

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getClassType[T](obj: JsonObject, classType: ClassType[T], builder: LDGraphBuilder = LDGraphBuilder()): Try[(List[ClassType[_]], JsonObject)]

    Permalink
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. val httpClient: HttpClient

    Permalink
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def jsIndexToEdges[T <: Resource[_]](resource: T, key: Property, container: String, classType: ClassType[_], obj: JsonObject, builder: LDGraphBuilder = LDGraphBuilder()): Try[List[Edge[_, _]]]

    Permalink
  21. def jsToToEdge(obj: JsonObject, property: Property, builder: LDGraphBuilder = LDGraphBuilder()): Try[(ClassType[Any], Any)]

    Permalink
  22. def jsValueToValue(obj: JsonObject, classType: ClassType[_], builder: LDGraphBuilder = LDGraphBuilder()): Try[(ClassType[Any], Any)]

    Permalink
  23. def jsonToClassType(obj: JsonObject, builder: LDGraphBuilder = LDGraphBuilder()): Try[ClassType[_]]

    Permalink
  24. def jsonToDataType(_obj: JsonObject, _builder: LDGraphBuilder = LDGraphBuilder()): Try[DataType[_]]

    Permalink
  25. def jsonToEdge[T <: Resource[_]](resource: T, jKey: String, jValue: Json, builder: LDGraphBuilder = LDGraphBuilder()): List[Edge[_, _]]

    Permalink
  26. def jsonToOntology(_obj: JsonObject, _builder: LDGraphBuilder = LDGraphBuilder()): Try[Ontology]

    Permalink
  27. def jsonToProperty(_obj: JsonObject, _builder: LDGraphBuilder = LDGraphBuilder()): Try[Property]

    Permalink
  28. def jsonToValue[T](classType: ClassType[T], json: Json, builder: LDGraphBuilder = LDGraphBuilder()): Try[(ClassType[T], T)]

    Permalink
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. def nodeToJson(node: Node, builder: LDContextBuilder = LDContextBuilder()): (JsonObject, LDContextBuilder)

    Permalink

    this method can be overridden when extending the parser and add additional Scala object representations (e.g.

    this method can be overridden when extending the parser and add additional Scala object representations (e.g. Ontology and Traversal classes) and corresponding parsers. Add a wildcard match-case which points to this method to re-use the base matchers. E.g. case _ => super.nodeResourceToJson(nodeResource, builder)

  31. def nodeToJsonWithContext(node: Node, builder: LDContextBuilder = LDContextBuilder()): (Json, LDContextBuilder)

    Permalink
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. def ontologyToJson(ontology: Ontology, builder: LDContextBuilder = LDContextBuilder()): (JsonObject, LDContextBuilder)

    Permalink

    ontology to json, TODO: add and return @context

  35. def parseContext(json: JsonObject, builder: LDGraphBuilder = LDGraphBuilder()): Try[(LDGraphBuilder, JsonObject)]

    Permalink
  36. def propertyToJson(key: Property, builder: LDContextBuilder = LDContextBuilder()): (JsonObject, LDContextBuilder)

    Permalink

    property to json, TODO: add and return @context

  37. def resource(obj: JsonObject, builder: LDGraphBuilder = LDGraphBuilder(), expectedOntologies: ListSet[Ontology] = ListSet[Ontology](), sourceUrl: Option[String] = None): Try[Resource[_]]

    Permalink
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped