kbss-cvut / jb4jsonld-jackson Goto Github PK
View Code? Open in Web Editor NEWJSON-LD serialization and deserialization for Java REST services. Jackson integration.
License: GNU Lesser General Public License v3.0
JSON-LD serialization and deserialization for Java REST services. Jackson integration.
License: GNU Lesser General Public License v3.0
Jackson allows ignoring a property by directly annotating it with JsonIgnore
, but also ignoring multiple properties by listing them in the JsonIgnoreProperties
annotation on class level.
Note that JsonIgnoreProperties
can also be used directly on attributes in which case it behaves similarly to JsonIgnore
. Consider supporting this behavior as well.
Attempting to serialize a simple collection of URIs (would be the same for String or any other type presumably) produces an invalid JSON. For example:
["http://onto.fel.cvut.cz/ontologies/slovník/datový/psp-2016","http://onto.fel.cvut.cz/ontologies/legislativní/sbírka/183/2006"] {"@context":{},"@graph":[{"@id":"http://onto.fel.cvut.cz/ontologies/slovník/datový/psp-2016"},{"@id":"http://onto.fel.cvut.cz/ontologies/legislativní/sbírka/183/2006"}]}
Note that this happens when running serialization with context.
Causes kbss-cvut/termit-ui#384.
Le parent an individual and a, b two individuals linked to parent via the properties hasChildA and hasChildA respectively. Now let f be an individual linked both to a and b via the property hasFriend.
parent hasChildA a
parent hasChildB b
c hasFriend f
c hasFriend f
by serializing the parent with the jsonld object mapper and then deserializing it, the following exception is thrown
cz.cvut.kbss.jsonld.exception.JsonLdDeserializationException: Node with IRI http://example.org/f cannot be referenced, because it has not been encountered yet.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.