Giter VIP home page Giter VIP logo

json-matchers's Introduction

logo

Managed By Self XDSD

EO principles respected here DevOps By Rultor.com We recommend IntelliJ IDEA

mvn maven central javadoc codecov

Hits-of-Code Lines-of-Code PDD status License

Project architect: @h1alexbel

Hamcrest JSON Matchers.

Motivation. We are not happy dealing with JSON matching and assertions in procedural way.
We offer everything through simple, declarative Hamcrest Matchers.

Principles. These are the design principles behind json-matchers.

How to use. All you need is this (get the latest version here):

Maven:

<dependency>
  <groupId>io.github.eo-cqrs</groupId>
  <artifactId>json-matchers</artifactId>
  <scope>test</scope>
</dependency>

Gradle:

dependencies {
    testCompile 'io.github.eo-cqrs:json-matchers:<version>'
}

JsonEqualTo

Simple, Equality Matcher:

new JsonEqualTo(json)
  .matches("{\"test\": \"123\"}")
);
final String compare = new SmartJson(
new MutableJson()
    .with("test", "123")
    .with("test-node", "true")
).pretty();
new JsonEqualTo(json)
  .matches(compare);

Each submitted JSON to JsonEqualTo transformed into pretty string.

How to Contribute

Fork repository, make changes, send us a pull request. We will review your changes and apply them to the master branch shortly, provided they don't violate our quality standards. To avoid frustration, before sending us your pull request please run full Maven build:

$ mvn clean install

You will need Maven 3.8.7+ and Java 17+.

Our rultor image for CI/CD.

json-matchers's People

Contributors

h1alexbel avatar renovate[bot] avatar rultor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

json-matchers's Issues

Hello from Self XDSD!

@h1alexbel Thank you for the invitation, your repo is all set up and I will manage it starting now.

I will take care of tickets' assignment, payments and more, automatically.

If you don't want me to handle a certain Issue or PR, add the no-task label when creating it. You can also say deregister to me (if it's already in scope) and I will forget about it.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update actions/cache action to v4
  • Update codecov/codecov-action action to v4
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/codecov.yml
  • actions/checkout v3
  • actions/setup-java v3
  • actions/cache v3
  • codecov/codecov-action v3
  • ubuntu 20.04
.github/workflows/mvn.yaml
  • actions/checkout v3
  • actions/setup-java v3
  • actions/cache v3
.github/workflows/pdd.yml
  • actions/checkout v3
  • ubuntu 20.04
.github/workflows/xcop.yml
  • actions/checkout v3
  • ubuntu 20.04
maven
pom.xml
  • io.github.eo-cqrs:eokson 0.0.1
  • org.hamcrest:hamcrest-all 1.3
  • org.junit.jupiter:junit-jupiter-api 5.9.3
  • org.junit.jupiter:junit-jupiter-engine 5.9.3
  • org.apache.maven.plugins:maven-surefire-plugin 3.1.2
  • org.apache.maven.plugins:maven-verifier-plugin 1.1
  • com.github.volodya-lombrozo:jtcop-maven-plugin 0.1.14
  • ru.l3r8y:sa-tan 0.1.5
  • org.apache.maven.plugins:maven-checkstyle-plugin 3.3.0
  • com.puppycrawl.tools:checkstyle 10.12.1
  • org.apache.maven.plugins:maven-source-plugin 3.3.0
  • org.apache.maven.plugins:maven-gpg-plugin 3.1.0
  • org.sonatype.plugins:nexus-staging-maven-plugin 1.6.13

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.