I am using yaml.safe_load
method to process a file, and I can see that the data that is being returned by that call is in a different order
This is my code:
a=yam.safe_load('{"method1": "value1","method2": "value2"}' )
print(a)
And this is the output
{'method2': 'value2', 'method1': 'value1'}
What can I do to keep the original order?