Azure / Azure/azure-documentdb-java
new Document(JSONObject) constructor - yields empty results
Đang mở
bug
- Ngôn ngữ chính
- Java
- Star
- 51
- Fork
- 52
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
When running
new Document(JSONObject) -> the document received is empty.
Running new Document(JSONObject.toString()) - works fine.
The root issue is that for some reason new JSONObject(JSONObject) returns an empty JSONObject (and that's what happens in JSONSerializable's constructor):
``
protected JsonSerializable(JSONObject jsonObject) {
this.propertyBag = new JSONObject(jsonObject);
}
``
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.