pub fn object<I, K>(members: I) -> LinoValueExpand description
Build an object from its members, keeping them in the given order.
ยงExamples
use lino_rest_api::value::{object, string};
let task = object([("title", string("Ship it"))]);
assert_eq!(lino_rest_api::codec::encode(&task), "(\n title \"Ship it\"\n)");