Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

?compress (efficient document) #230

Open
cubap opened this issue Jan 31, 2022 · 0 comments
Open

?compress (efficient document) #230

cubap opened this issue Jan 31, 2022 · 0 comments
Assignees

Comments

@cubap
Copy link
Member

cubap commented Jan 31, 2022

{  "label": "Sample Data",
   "forCollection": {
       "value": "Sample Collection"
    },
   "date": 123093091209,
   "seeAlso": {
      "@id": "https://example.com/42",
      "label": { "en": "external resource", "none":"externalatio"},
   },
   "__rerum": { ... }
}

Becomes...

{  "label": "Sample Data",
   "forCollection": {
       "value": "Sample Collection"
    },
   "date": 123093091209,
   "seeAlso": {
      "@id": "https://example.com/42",
      "label": { "en": "external resource", "none":"externalatio"},
   }
}

Compare to compact which will promote value and @id properties with prejudice.

@thehabes thehabes self-assigned this Jan 31, 2022
@thehabes thehabes linked a pull request Jan 31, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants