schema-org-java 0.4.0 released – Java library for working with Schema.org data in JSON-LD format

If you’ve ever worked with structured data, you’re probably familiar with Schema.org.

And you must have realized that entities contain a lot of information and that inheritance can be complex.

So it can be tedious to create all the entities needed fo…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Nicolas Dos Santos

If you've ever worked with structured data, you're probably familiar with Schema.org.

And you must have realized that entities contain a lot of information and that inheritance can be complex.

So it can be tedious to create all the entities needed for your project and then serialize / deserialize the data in JSON-LD format.

schema-org-java is a library to work with Schema.org entities.

The entities can be easily generated with the Maven plugin, and can then be serialized / deserialized to JSON-LD format with the serializer module.

The library has the following features:

  • Fully supports the vocabulary defined in the http://schema.org namespace.
  • Fully supports type multiple inheritance, multiple values per property in http://schema.org.
  • Every Schema.org type has a corresponding Java interface which provides convenient getter/setter methods for getting/setting the values of the properties of that particular type.
  • Supports the generation of all Schema.org types at once, or specific ones.
  • Fully supports Schema.org documentation of types and properties by adding Javadoc on generated classes and methods.
  • Supports different versions of the Schema.org vocabulary.
  • Supports serializing and deserializing Schema.org objects to and from JSON-LD formats.

Here is a video illustrating the generation and creation of Schema.org entities:

If you are interested, please take a look and give me your feedback :)


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Nicolas Dos Santos


Print Share Comment Cite Upload Translate Updates
APA

Nicolas Dos Santos | Sciencx (2023-02-12T21:32:27+00:00) schema-org-java 0.4.0 released – Java library for working with Schema.org data in JSON-LD format. Retrieved from https://www.scien.cx/2023/02/12/schema-org-java-0-4-0-released-java-library-for-working-with-schema-org-data-in-json-ld-format/

MLA
" » schema-org-java 0.4.0 released – Java library for working with Schema.org data in JSON-LD format." Nicolas Dos Santos | Sciencx - Sunday February 12, 2023, https://www.scien.cx/2023/02/12/schema-org-java-0-4-0-released-java-library-for-working-with-schema-org-data-in-json-ld-format/
HARVARD
Nicolas Dos Santos | Sciencx Sunday February 12, 2023 » schema-org-java 0.4.0 released – Java library for working with Schema.org data in JSON-LD format., viewed ,<https://www.scien.cx/2023/02/12/schema-org-java-0-4-0-released-java-library-for-working-with-schema-org-data-in-json-ld-format/>
VANCOUVER
Nicolas Dos Santos | Sciencx - » schema-org-java 0.4.0 released – Java library for working with Schema.org data in JSON-LD format. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/02/12/schema-org-java-0-4-0-released-java-library-for-working-with-schema-org-data-in-json-ld-format/
CHICAGO
" » schema-org-java 0.4.0 released – Java library for working with Schema.org data in JSON-LD format." Nicolas Dos Santos | Sciencx - Accessed . https://www.scien.cx/2023/02/12/schema-org-java-0-4-0-released-java-library-for-working-with-schema-org-data-in-json-ld-format/
IEEE
" » schema-org-java 0.4.0 released – Java library for working with Schema.org data in JSON-LD format." Nicolas Dos Santos | Sciencx [Online]. Available: https://www.scien.cx/2023/02/12/schema-org-java-0-4-0-released-java-library-for-working-with-schema-org-data-in-json-ld-format/. [Accessed: ]
rf:citation
» schema-org-java 0.4.0 released – Java library for working with Schema.org data in JSON-LD format | Nicolas Dos Santos | Sciencx | https://www.scien.cx/2023/02/12/schema-org-java-0-4-0-released-java-library-for-working-with-schema-org-data-in-json-ld-format/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.