apache / apache/hugegraph

Support UUID type to json

Open
#698 1 comment 0 reactions 0 assignees View on GitHub
feature
Dominant language
Java
Stars
3.2k
Forks
636
Avg merge
3d 11h
Merged PRs (30d)
14

Description

write UUID like:

long:
```
id: 12345
```
string:
```
id: "12345"
```
UUID:
```
id: {
@type: "uuid",
@value: "835e1153-9281-4957-8691-cf79258e90eb"
}
```

Related https://github.com/hugegraph/hugegraph/pull/694

Reference:
https://tech.signavio.com/2017/json-type-information
https://stackoverflow.com/questions/44122782/jackson-deserialize-based-on-type
https://github.com/FasterXML/jackson-docs/wiki/JacksonPolymorphicDeserialization

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.