On Dec 18, 2013, at 13:37, Julien Wajsberg wrote:
> Le 18/12/2013 15:39, monitormen...@gmail.com a écrit :
>> Hello all,
>>
>> I'm currently working on a FFOS app & web service to back up all contacts.
>> I'd like to export all mozContact items as JSON and import them the same
>> way. Is there
On Wednesday, December 18, 2013 4:37:21 PM UTC+1, Julien Wajsberg wrote:
> All you can use is documented in the WebIDL [1]. If it's not there it's
>
> not there ;)
>
> That said, JSON.stringify(contact) works well IIRC.
> [1]
>
> https://mxr.mozilla.org/mozilla-central/source/dom/webidl/Contacts
Le 18/12/2013 15:39, monitormen...@gmail.com a écrit :
> Hello all,
>
> I'm currently working on a FFOS app & web service to back up all contacts.
> I'd like to export all mozContact items as JSON and import them the same way.
> Is there any build-in (undocumented) function to achieve this or do
Hello all,
I'm currently working on a FFOS app & web service to back up all contacts. I'd
like to export all mozContact items as JSON and import them the same way. Is
there any build-in (undocumented) function to achieve this or do I have to
write my own contactsToJSON / contactsFromJSON?
tha