# LibBSON.jl **Repository Path**: Julialang/LibBSON.jl ## Basic Information - **Project Name**: LibBSON.jl - **Description**: No description available - **Primary Language**: Unknown - **License**: BSD-2-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-03-12 - **Last Updated**: 2024-06-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README IMPORTANT: Looking for New Maintainer ------------------------------------- Note that we are looking for a new maintainer for the LibBSON.jl package. If you are interested in taking over maintenance of LibBSON.jl please contact peter dot zion at gmail dot com. LibBSON.jl ========== [![Build Status](https://api.travis-ci.org/pzion/LibBSON.jl.svg?branch=master)](https://travis-ci.org/pzion/LibBSON.jl) [![0.6 Status](http://pkg.julialang.org/badges/LibBSON_0.6.svg)](http://pkg.julialang.org/?pkg=LibBSON) [![0.5 Status](http://pkg.julialang.org/badges/LibBSON_0.5.svg)](http://pkg.julialang.org/?pkg=LibBSON) [![Coverage Status](https://img.shields.io/coveralls/pzion/LibBSON.jl.svg)](https://coveralls.io/r/pzion/LibBSON.jl?branch=master) [libbson](https://github.com/mongodb/libbson) bindings for [The Julia Language](http://julialang.org/) License ------- This software is licensed under the simplified BSD license; see the file LICENSE.md for details. Example Usage --------------- using LibBSON bsonObject = BSONObject(Dict( "null" => nothing, "bool" => true, "int" => 42, "double" => 3.141, "string" => "Hello, Jérôme", "oid" => BSONOID(), "minkey" => :minkey, "maxkey" => :maxkey, "binaryData" => Array{UInt8}(20), "array" => Any[5.41, false] )) println(bsonObject) println(bsonObject["string"]) for (k, v) in bsonObject println("$k => $v") end bsonArray = BSONArray(Any[ "one", Dict("key" => 6.7) ]) for e in bsonArray println(e) end Please refer to the unit tests in test/runtests.jl for more examples of usage. Contributing ------------ Contributions are welcome! Please fork on github.com and submit a pull request if you have a contribution you think is worthwhile!