Forum Discussion
Bessonnizza
6 years agoHelper II
Json.FromValue
Hello there, I want to write POST request with data for WEB service. I try to use Json.FromValue function to convert to JSON, but it isn't working. JSON data schema: My POST request...
lbendlin
6 years agoSuper User
You want to use Json.Document instead and craft your Json structure manually. Don't think schemas are supported.
data = Json.Document("{Period:{Begin:""begin"",End:""End""},TargetObject:{ObjectId:""ObjectId"",ObjectTypeId:""ObjectTypeId""}}")