Skip to main content
Array or object: Flip keys and values Switches the keys and values of an array or object.

Fields

N/A

Sample data

InputResult
{“name”: “Example”, “price”: “10”}{“Example”: “name”, “10”: “price”}
[“A”,“B”,“C”]{“A”: 0, “B”: 1, “C”: 2}