JSFiddle - React, Tailwind, and code Playground
by alexflav23
HTML
firstName: String,
lastName: String,
fullName: String,
timeZone: String,
country: String,
postCode: String,
location: LatLong,
addresses: Option[List[Address]],
creditCards: Option[List[CreditCard]],
orders: Option[List[Order]],
email: String,
password: String,
lastLogin: Option[DateTime],
accountCreated: DateTime,
accountVerified: Boolean,
phoneNumber: Option[String]);
JavaScript
var customer = {
firstName: "Alex",
lastName: "Flavian",
fullName: "Alex Flavian",
country: "UK",
postCode: "E154EH",
location: {
lat: 57.148235,
long: -2.096648
},
addresses: [],
creditCards: [],
orders: [],
email: "[email protected]",
password: "test",
lastLogin: "",
accountCreated: "",
accountVerified: false,
phoneNumber: "07576070773"
};
alert(JSON.stringify(customer));