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