Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JCard parsing functionality #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 114 additions & 0 deletions test_files/jcard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
[
"vcard",
[
[
"version",
{},
"text",
"3.0"
],
[
"fn",
{},
"text",
"Simon Perreault"
],
[
"n",
{},
"text",
[
"Perreault",
"Simon",
"",
"",
[
"ing. jr",
"M.Sc."
]
]
],
[
"org",
{
"type": "work"
},
"text",
"Viagenie"
],
[
"adr",
{
"type": "work"
},
"text",
[
"",
"Suite D2-630",
"2875 Laurier",
"Quebec",
"QC",
"G1V 2M2",
"Canada"
]
],
[
"tel",
{
"type": [
"work",
"voice"
],
"pref": "1"
},
"uri",
"tel:+1-418-656-9254;ext=102"
],
[
"tel",
{
"type": [
"work",
"cell",
"voice",
"video",
"text"
]
},
"uri",
"tel:+1-418-262-6501"
],
[
"email",
{
"type": "work"
},
"text",
"simon.perreault@viagenie.ca"
],
[
"geo",
{
"type": "work"
},
"uri",
"geo:46.772673,-71.282945"
],
[
"key",
{
"type": "work"
},
"uri",
"http://www.viagenie.ca/simon.perreault/simon.asc"
],
[
"url",
{
"type": "home"
},
"uri",
"http://nomis80.org"
]
]
]
Loading