5
鑑於任意JSON,我想獲得單個字段的值contentType
。如何與傑克遜?使用Jackson從JSON獲取單個字段
{
contentType: "foo",
fooField1: ...
}
{
contentType: "bar",
barArray: [...]
}
相關
- How to find specified name and its value in JSON-string from Java?(GSON)
- Using gson to deserialize specific JSON field of an object(GSON)