无论如何,是否只能将所需的值从JSON字符串复制到对象。
{
"name":"John",
"age":31,
"city":"New York",
"place" : "Ne"
}
转换上述字符串时,结果应为
Object a= {"name":"John","address":"","place":"Ne"}
答案 0 :(得分:0)
您可以尝试使用对象分解。了解更多here。
REQUEST_TIMER = Summary('aes_request_processing_duration_seconds', 'Time spent processing requests')