serdejsonlodash

Documentation build status Downloads

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

Usage

Cargo.toml

toml [dependencies] serde_json_lodash = "0.1"

main.rs

```rust

[macrouse] extern crate serdejson_lodash;

use serdejson::json; fn main() { asserteq!( capitalize!(json!("FRED")), json!("Fred") ); } ```

Contributes

All implements should be same as lodash as possible

How?

Dev

```bash

Up

cargo watch -x "test --features lazy_static" -w "Cargo.toml" -w "src"

Lint

./lint.sh

Preview doc

cargo doc --open

Bump version and push

./bump_push.sh ```

Check lodash.js api

```console $ npm i $ node Welcome to Node.js v15.14.0. Type ".help" for more information.

const l = require('lodash') undefined l.toString() ''

```