serdejsonlodash

crates.io build status Downloads

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

Usage

Cargo.toml

toml [dependencies] serde_json = "*" serde_json_lodash = "0.1"

main.rs

```rs

[macrouse] extern crate serdejson_lodash;

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

Contributes

Dev

```bash

Up

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

Lint

./lint.sh

Bump version

cargo bump patch --git-tag # same as npm version

and remember do git commit and push!

```

verify 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() ''

```