-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: BSON
Instead of forcing users to call bson::from_json like so:
auto doc = bson::from_json("[1,2,3]")
We could provide a UDL, i.e.,:
auto doc = "[1,2,3]"_bson