Is it possible to do this kind of transfer ?
See original GitHub issueInput:
{ "AA": [ { "A": "10", "B": "20", "C": "90", "D": "10" } ] }
Expected Output:
{ "AA": [ { "A": "red", "B": "yellow", "C": "black", "D": "red" } ] }
Question: Can we do a logic check in the spec? to get the expected result
- if the value <=10, return red,
- if the value >10, value <90 return yellow
- if the value >=90, return black.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
In-Kind Transfer: What It Is and How to Do It Correctly
For an in-kind transfer of investments, that means those investments are transferred to a new company, and there's no need to buy or...
Read more >What Is an In Kind Transfer? - SmartAsset.com
An in kind transfer isn't a complicated concept. It simply means that you move your assets from one brokerage account to another brokerage...
Read more >What is the Significance of Information Transfer? - Study.com
Positive transfer is when knowledge or skills about a previous topic help a student learn a new skill or learn about a new...
Read more >Can You Do an In-Kind Transfer Into an IRA? - The Motley Fool
In-kind transfers from regular taxable brokerage accounts: not allowed. The biggest question in deciding whether you can do an in-kind transfer into an...
Read more >Energy Transfers and Transformations
Energy cannot be created or destroyed, but it can be transferred and transformed. There are a number of different ways energy can be...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Start simple / don’t need a spec driven transform.
This is assuming that the input data is just a single top level map with “A”, “B”, etc as keys.
Yes, but you would have to write it. Implement the Transform Interface.
And then you can call your Transform by using it’s fully qualified class name as the “operation”.
Something like