I cannot see in the documentation about JsonOutput.toJson if it will keep the order of the properties we are sending. For example, the following code:
jsonResponse = JsonOutput.toJson([
memberId:memberId,
emailAddress: emailAddress
])
Can we rely on that we will always get a response where "memberId" will be first?