I have a JSON object. I want to transform array to produce following as PascalCase:
contacts: [{ givenName: "Matt", familyName: "Berry" }]
Contacts: [{ GivenName: "Matt", FamilyName: "Berry" }]
The following answer did not work
Does Lodash have a Pascal case function? It did not locate it in runtime.
_.mapKeys(obj, (v, k) => _.camelCase(k))
Currently using the Typescript Angular 10 library .
Convert returned JSON Object Properties to (lower first) camelCase
Looking to loop through all members of Array of object,