Skip to content

automated testing for results of parsing all examples as JSON-LD #17

@elf-pavlik

Description

@elf-pavlik

I just tried parsing example Action using provided Non-Normative JSON-LD @context. We can see results on JSON-LD Playground

{
  "@id": "http://example.org/cats.mpg",
  "http://activitystrea.ms/2.0/actions": [
    {
      "@index": "embed",
      "@value": "http://example.org/gadgets/video.xml?v=cats.mpg"
    },
    {
      "@index": "embed",
      "http://activitystrea.ms/2.0/content": "<video ... />",
      "http://activitystrea.ms/2.0/objectType": "inline-html"
    },
    {
      "@id": "http://example.net/share",
      "@index": "share",
      "http://activitystrea.ms/2.0/displayName": "My Sharing Service",
      "http://activitystrea.ms/2.0/objectType": "service"
    },
    {
      "@index": "watch",
      "@value": "movie://example.org/cats.mpg"
    }
  ],
  "http://activitystrea.ms/2.0/objectType": "video"
}

I would like to help with automating parsing all examples as JSON-LD and verifying if they match hand written expected results.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions