This example shows how to use Squiggly Filter in a Spring Boot web environment.
This example uses the Issue object described in the main documentation.
To run the example, cd to the examples/spring-boot directory on the command line type the following:
mvn spring-boot:run
In another terminal, you can request the issue json by doing the following:
- To print the raw json
curl -s -g 'http://localhost:8080/issues'
- To filter the raw json
curl -s -g 'http://localhost:8080/issues?fields=id,assignee[firstName]'