411f8c9d56
* schema.cpp * mgps.py * convert.py
11 lines
151 B
Python
11 lines
151 B
Python
from json import loads
|
|
|
|
import mgp
|
|
|
|
|
|
@mgp.function
|
|
def str2object(string: str) -> mgp.Any:
|
|
if string:
|
|
return loads(string)
|
|
return None
|