Skip to content

Add JSON OutputFormat with embedded MarkLogic JSON triples #5

@masyukun

Description

@masyukun

Example:

{
  "my": "data",
  "rtTriples": [
    {
      "triple": {
        "subject": {
          "value": "771321013"
        },
        "predicate": {
          "value": "hasRating"
        },
        "object": {
          "datatype": "http:\/\/www.w3.org\/2001\/XMLSchema#string",
          "value": "R"
        }
      }
    },
    {
      "triple": {
        "subject": {
          "value": "2015-02-27"
        },
        "predicate": {
          "value": "hasReleaseDate"
        },
        "object": {
          "datatype": "http:\/\/www.w3.org\/2001\/XMLSchema#string",
          "value": "March 15"
        }
      }
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions