[Sysadmins] what's that contact format...

Kieran Murphy daffster at gmail.com
Wed Jul 21 13:59:08 IST 2010


Hi,

I believe thats JSON. Probably generated by something JavaScripty.

Regards,
Kieran.

On Wed, Jul 21, 2010 at 1:54 PM, Gavin McCullagh <gmccullagh at gmail.com>wrote:

> Hi,
>
> just a very quick question in case anyone recognises this.  I've got my
> hands on a big bunch of contact files and need to import and make them
> usable for someone.  The format is a CSV of sorts but with nesting done via
> curly brackets.   I can write something to parse it if need be, but I'm
> sort of
> hoping I don't need to.
>
> Does anyone know what that format is?   A short example one is below...
>
> Gavin
>
> {"Success":true,"Data":{"HasPendingInvitationToCurrentUser":false,"Type":1,"IsPersonalVisible":false,"TypeString":"contact","ContactID":"327508962","FirstName":"XXXXX","MiddleName":"","LastName":"YYYYYY","BirthDate":{"Day":null,"Month":null,"Year":null,"DateFormatted":""},"Note":"","AboutMe":"","Website":{"Id":0,"Url":null},"AllPhoneNumbers":[],"AllEmailAddresses":[],"AllAddresses":[],"PersonalPhoneNumberTemplate":{"Id":0,"Number":"","Type":64,"FieldInfo":{"Id":"PersonalPhones[]_Number","Name":"PersonalPhones[].Number","Label":"Phone
> number","Value":"","SelectedFieldName":"PersonalPhones[].Type","SelectedFieldId":"PersonalPhones[]_Type","SelectedFieldText":"Mobile","SelectedFieldValue":"64","Options":[{"Key":"Mobile","Value":"64"},{"Key":"Home","Value":"4"},{"Key":"Fax","Value":"16"},{"Key":"Other","Value":"0"}]},"TypeString":"Mobile","IsPreferred":false,"IsPossiblePreferredNumber":true,"IsConfirmed":false,"RequestConfirmation":false,"ContextString":"Personal"},"WorkPhoneNumberTemplate":{"Id":0,"Number":"","Type":64,"FieldInfo":{"Id":"WorkPhones[]_Number","Name":"WorkPhones[].Number","Label":"Phone
> number","Value":"","SelectedFieldName":"WorkPhones[].Type","SelectedFieldId":"WorkPhones[]_Type","SelectedFieldText":"Mobile","SelectedFieldValue":"64","Options":[{"Key":"Mobile","Value":"64"},{"Key":"Fax","Value":"16"},{"Key":"Other","Value":"0"}]},"TypeString":"Mobile","IsPreferred":false,"IsPossiblePreferredNumber":true,"IsConfirmed":false,"RequestConfirmation":false,"ContextString":"Work"},"PersonalEmailAddressTemplate":{"Id":0,"Address":null,"IsPreferred":false,"IsConfirmed":false,"RequestConfirmation":false,"ContextString":"Personal"},"WorkEmailAddressTemplate":{"Id":0,"Address":null,"IsPreferred":false,"IsConfirmed":false,"RequestConfirmation":false,"ContextString":"Work"},"PersonalAddressTemplate":{"ContextString":"Personal","Id":0,"POBox":"","AddressLine2":"","AddressLine1":"","City":"","Zip":"","Region":"","Country":""},"WorkAddressTemplate":{"ContextString":"Work","Id":0,"POBox":"","AddressLine2":"","AddressLine1":"","City":"","Zip":"","Region":"","Country":""},"PersonalPhones":[],"PersonalEmailAddresses":[],"PersonalAddresses":[],"IsWorkVisible":false,"WorkPhones":[],"WorkEmailAddresses":[],"WorkAddresses":[],"Title":"","Department":"","Company":""},"ErrorMessages":null}
>
>
> _______________________________________________
> Sysadmins mailing list
> Sysadmins at lists.stdlib.net
> http://lists.stdlib.net/mailman/listinfo/sysadmins
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.stdlib.net/pipermail/sysadmins/attachments/20100721/d313440d/attachment.htm 


More information about the Sysadmins mailing list