From f9cd266214c2b6739d644b2244da3841f62329a3 Mon Sep 17 00:00:00 2001 From: Kyle Banker Date: Mon, 12 Jul 2010 14:08:33 -0400 Subject: [PATCH] minor: j2bson docs --- bin/b2json | 2 ++ bin/j2bson | 3 +++ 2 files changed, 5 insertions(+) diff --git a/bin/b2json b/bin/b2json index 43c94bc..fb6e3b0 100755 --- a/bin/b2json +++ b/bin/b2json @@ -20,6 +20,8 @@ require 'rubygems' require 'bson' +# Note that this will not properly round-trip in all cases +# from the output generated by j2bson. begin require 'yajl' rescue LoadError diff --git a/bin/j2bson b/bin/j2bson index 20c4905..b776b40 100755 --- a/bin/j2bson +++ b/bin/j2bson @@ -25,6 +25,9 @@ require 'bson' # # We use json/pure because json/ext is broken with BSON::OrderedHash # (probably for the same reasons that we can't use YAJL). +# +# Note that, at the moment, this will not properly round-trip +# in all cases from the output generated by b2json. begin require 'json/pure' # broken with 'json/ext' rescue LoadError