How do I use a period in a field name, without creating a nested object?

I have a field that is using a period in it. But if I put a period in Mockaroo, it automatically breaks this down into a nested object. Is there a way I can use an escape character or something so that Mockaroo can ignore a period?

Here is an example of the of the field name I need to use:
“baseTypeForInterfaceProxy.AssemblyQualifiedName”

In this case the name of the field would need to be exactly as stated, and Mockaroo would need to not break this down into a nested object.

You can now use “” to escape “.” in field names. So:

baseTypeForInterfaceProxy\.AssemblyQualifiedName

1 Like

This may not be working as designed. I did the following:
baseTypeForInterfaceProxy\.AssemblyQualifiedName

And I got this output:
"baseTypeForInterfaceProxy\\.AssemblyQualifiedName":

I would expect:
"baseTypeForInterfaceProxy.AssemblyQualifiedName":

Did I goober up the syntax?

Here’s an example of it working:

Outputs:

[{
  "baseTypeForInterfaceProxy.AssemblyQualifiedName": false
}]