이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

JSONAble.DeJSONFactory

public static interface JSONAble.DeJSONFactory

androidx.test.espresso.web.model.JSONAble.DeJSONFactory


Allows implementors to replace a JSONObject (representated as a map) with a more applicable object.

Summary

Public methods

abstract Object attemptDeJSONize(Map<StringObject> jsonObject)

Attempt to convert this map to another Java object.

Public methods

attemptDeJSONize

Object attemptDeJSONize (Map<StringObject> jsonObject)

Attempt to convert this map to another Java object.

Parameters
jsonObject Map: the json object encountered

Returns
Object null if it could not be converted, or the object.