Re: JSON to JSON-LD

https://github.com/transmute-industries/verifiable-data/tree/main/packages/jsonld-schema
(JSON
Schema <-> JSON-LD)
https://github.com/google/schema-dts
https://www.npmjs.com/package/react-structured-data
https://www.npmjs.com/package/hylar (not exactly what you asked for, but
one of my favorite related projects).

The naive approach is to just push in an `@vocab` and use arrays more than
maps.

IMO, it's harder to make JSON-LD from other data sources, than it is to
convert from JSON-LD to other data sources... same is true of RDF.

OS
ᐧ

On Wed, Jan 19, 2022 at 8:26 AM Mike Prorock <mprorock@mesur.io> wrote:

> Looping in Orie as the react json-ld guy
>
> Mike Prorock
> mesur.io
>
> On Wed, Jan 19, 2022, 09:00 Joshua Tomlin <jtomlin@omnifederal.com> wrote:
>
>> Dear w3,
>>
>>     Are there libraries out there that can transform data into JSON-LD?
>> I'm currently working with React and we're lost when attempting to generate
>> data(ex. XML, Lists, JSON) into JSON-LD form. Please let me know if you
>> need any additional information from me.
>>
>> Thanks,
>> Joshua Tomlin
>>
>>

-- 
*ORIE STEELE*
Chief Technical Officer
www.transmute.industries

<https://www.transmute.industries>

Received on Wednesday, 19 January 2022 15:23:24 UTC