Closed lazedo closed 8 years ago
i think there's a difference dealing with empty json objects. in https://github.com/benoitc/couchbeam/blob/master/src/couchbeam_ejson.erl#L63 [{}](returned by jsx) is replaced with {[]} but in views https://github.com/benoitc/couchbeam/blob/master/src/couchbeam_view_stream.erl#L306-L319 it is not. i think couchbeam_view_stream.erl should be corrected, thoughts ?
couchbeam_view_stream.erl
https://github.com/benoitc/couchbeam/pull/139
i think there's a difference dealing with empty json objects. in https://github.com/benoitc/couchbeam/blob/master/src/couchbeam_ejson.erl#L63 [{}](returned by jsx) is replaced with {[]} but in views https://github.com/benoitc/couchbeam/blob/master/src/couchbeam_view_stream.erl#L306-L319 it is not. i think
couchbeam_view_stream.erl
should be corrected, thoughts ?