Skip to content

Commit

Permalink
[0.5.1] Bump version, update readme with info about enum support.
Browse files Browse the repository at this point in the history
  • Loading branch information
ledsoft committed Mar 22, 2020
1 parent 9e580cf commit afb1ae7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ public class User {
@OWLDataProperty(iri = "http://xmlns.com/foaf/0.1/accountName")
private String username;

@OWLDataProperty(iri = "http://krizik.felk.cvut.cz/ontologies/jb4jsonld/role")
private Role role; // Role is an enum

@Properties
private Map<String, Set<String>> properties;

Expand All @@ -57,7 +60,8 @@ public class User {
"firstName": "http://xmlns.com/foaf/0.1/firstName",
"lastName": "http://xmlns.com/foaf/0.1/lastName",
"accountName": "http://xmlns.com/foaf/0.1/accountName",
"isAdmin": "http://krizik.felk.cvut.cz/ontologies/jb4jsonld/isAdmin"
"isAdmin": "http://krizik.felk.cvut.cz/ontologies/jb4jsonld/isAdmin",
"role": "http://krizik.felk.cvut.cz/ontologies/jb4jsonld/role"
},
"@id": "http://krizik.felk.cvut.cz/ontologies/jb4jsonld#Catherine+Halsey",
"@type": [
Expand All @@ -68,7 +72,8 @@ public class User {
"isAdmin": true,
"accountName": "[email protected]",
"firstName": "Catherine",
"lastName": "Halsey"
"lastName": "Halsey",
"role": "USER"
}
```

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>cz.cvut.kbss.jsonld</groupId>
<artifactId>jb4jsonld</artifactId>
<version>0.5.0</version>
<version>0.5.1</version>
<name>JB4JSON-LD</name>
<description>Java Binding for JSON-LD allows serialization and deserialization of Java POJOs to/from JSON-LD.
This is the core implementation, which has to be integrated with Jackson, Jersey etc.
Expand All @@ -18,7 +18,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>

<cz.cvut.kbss.jopa.version>0.13.5</cz.cvut.kbss.jopa.version>
<cz.cvut.kbss.jopa.version>0.14.0</cz.cvut.kbss.jopa.version>

<org.junit.jupiter.version>5.6.0</org.junit.jupiter.version>
<org.mockito.version>2.28.2</org.mockito.version>
Expand Down

0 comments on commit afb1ae7

Please sign in to comment.