Convert calendars to and from jCal, the JSON form of iCalendar (RFC 7265). The jCal is Clojure data that any JSON library can write and read: vectors, maps with string keys, strings, numbers and booleans.
A calendar's values already take jCal's forms, so only the shape of its components, properties and parameters changes.
Convert calendars to and from jCal, the JSON form of iCalendar (RFC 7265). The jCal is Clojure data that any JSON library can write and read: vectors, maps with string keys, strings, numbers and booleans. A calendar's values already take jCal's forms, so only the shape of its components, properties and parameters changes.
(calendar->jcal c)The component c, usually a VCALENDAR, as jCal (RFC 7265, section
3.3): a vector of its name, its properties and its components.
The component `c`, usually a VCALENDAR, as jCal (RFC 7265, section 3.3): a vector of its name, its properties and its components.
(jcal->calendar [k properties components :as a])The component of the jCal array a, the inverse of calendar->jcal.
The component of the jCal array `a`, the inverse of calendar->jcal.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |