Skip to content

JSON issues  #7

@reinvantveer

Description

@reinvantveer

When processing JSON source, a couple of issues arise that hamper transformation to RDF

  • escaped backslashes in strings aren't unescaped
  • line breaks in strings using \n aren't retained
  • leading spaces in strings are droppped

The real trouble is in the processing of JSON arrays

  • JSON arrays using unquoted values (booleans, numerals etc.) always throw errors

See data below, transform using
java -jar RML-Mapper.jar -m multiple-datatypes/rdf/mosselenoesterhabitats.0.geojson/mosselenoesterhabitats.0.geojson.mapping.rml.ttl -o multiple-datatypes/rdf/mosselenoesterhabitats.0.geojson/mosselenoesterhabitats.0.geojson.nt -f ntriples
multiple-datatypes.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions