Skip to content

A Clojure Wrapper for Apache avro serialization/deserialization

Notifications You must be signed in to change notification settings

yehohanan7/avro-clj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

avro-clj

A Clojure Wrapper for Apache avro serialization/deserialization

Example

(ns avroclj.avrotest (require '[avroclj.avro :as avro]))

(defn person [fields] (with-meta fields {:avro-type :avroclj-model-person-Person}) )

;Serializes the map into a byte array (def bytes (avro/serialize (person {:first-name "John" :middle-name "Pradeep" :last-name "Vincent"})))

;Deserializes the bytes into the map passed as argument (avro/deserialize bytes (person {}))

Installation

With Leiningen:

[yehohanan7/avro-clj "0.1"]

With Maven:

yehohanan7 avro-clj 0.1

About

A Clojure Wrapper for Apache avro serialization/deserialization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published