📅  最后修改于: 2022-03-11 14:46:32.282000             🧑  作者: Mango
class Query(graphene.ObjectType):
searcher = graphene.JSONString(name=graphene.JSONString(default_value='{"first": 100}'))
def resolve_searcher(self, type, passed_json):
some_result = do_some_with_json(passed_json)
return some_result