Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

feat(logger): add a json macro to generate json object #455

Merged
merged 4 commits into from
Sep 15, 2020

Conversation

KaoImin
Copy link

@KaoImin KaoImin commented Sep 14, 2020

What this PR does / why we need it:
Add a json macro to generate json object.

example:

     let json_obj = json!({
         "key_01", value_01;
         "key_02", value_02
    });

Which issue(s) this PR fixes:

Fixes #

Which docs this PR relation:

Ref #

Which toolchain this PR adaption:

No Breaking Change

Special notes for your reviewer:

@KaoImin KaoImin requested a review from zeroqn September 14, 2020 05:36
@LycrusHamster
Copy link
Contributor

/lgtm

@muta-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LycrusHamster

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@muta-robot muta-robot merged commit ffb1b45 into nervosnetwork:master Sep 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants