serde_json_lodash 0.1.0

serde_json::Value with lodash.js spec
Documentation

serde_json_lodash

serde_json::Value with lodash.js spec, makes life easier.

Rules

  • All functions should be same as possible as lodash
  • If the original functions allow dynamical amount of parameters:
    • known amount, e.q. _.get(object, path, [defaultValue]), the ported fn should be designed as ::get(object, path, defaultValue)
    • infinity amount, e.q. _.merge(object, [...sources]), the ported fn should be designed as ::merge(object, sources)
  • All parameters and return value should only be serde_json::Value or std::ops::Fn
  • Some functions are impassible to implement, consider using macros