-
Notifications
You must be signed in to change notification settings - Fork 7
andrewppace/vcard-json
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This simple library allows conversion of Vcard.0 text to JSON and JSON to Vcard3.0. The library implents two functions, #parse and #generate. #parse takes Vcard3.0 text and converts to JSON data For example: VCARD.parse("BEGIN:VCARD\r\nVERSION:3.0\r\nFN:Andrew Pace\r\nEND:VCARD"); Returns: {fn: {name: "Andrew Pace"}} #generate takes JSON data and converts to Vcard3.0 text For example: VCARD.generate({fn: {name: "Andrew Pace"}}); Returns: VCARD.parse("BEGIN:VCARD\r\nVERSION:3.0\r\nFN:Andrew Pace\r\nEND:VCARD");
About
Converts Vcard3.0 to JSON and JSON to Vcard3.0
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published