Instance.createTransientInstanceFromJSON()

Signature

Concept createTransientInstanceFromJSON (String uri, String json)

Domain

ACTION

Description

This function creates a new Concept instance by deserializing the JSON data provided. The form of of the JSON data provided is expected to be the same as the output from serialize(). The newly created Concept instance is NOT added to the working memory.

Parameters

NameTypeDescription
uriStringConcept URI.
jsonStringJSON string to be parsed

Returns

TypeDescription
ConceptThe newly created concept

Cautions

none. The function does not assert the created concept.