You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a JSON in the following structure, how would we express this transformation. Note that we want the result to be the same shape as the input.
{
"99": { "Price": 999 }
, ...
}
We have the JSON object, key value associative pairs, the object on the RHS has a "Price", can have other kvp as well, all should remain in tact. The only thing we want to do is transform the Price accordingly.
How might we go about doing that with the JSON-aytah ?
Note, I am no stranger to data shapes, transformations, etc; so high level guidance. If it is even possible with JSON-ata.
Thank! Cheers. 🍻
The text was updated successfully, but these errors were encountered:
mwpowellhtx
changed the title
How do work with a parent object and transform its values
How to work with a parent object and transform its values
Apr 26, 2024
mwpowellhtx
changed the title
How to work with a parent object and transform its values
How to work with parent object and transform values
Apr 26, 2024
I have a JSON in the following structure, how would we express this transformation. Note that we want the result to be the same shape as the input.
We have the JSON object, key value associative pairs, the object on the RHS has a
"Price"
, can have other kvp as well, all should remain in tact. The only thing we want to do is transform thePrice
accordingly.How might we go about doing that with the JSON-aytah ?
Note, I am no stranger to data shapes, transformations, etc; so high level guidance. If it is even possible with JSON-ata.
Thank! Cheers. 🍻
The text was updated successfully, but these errors were encountered: