Java logging simple example

This post explains java logging with simple example. Main code 1 package Logging; 2 3 import java.io.IOException; 4 import java.util.logging.Logger; 5 6 public class LoggingDemo1 { 7 public static void main(String[] args) throws IOException { 8 Logger logger = Logger.getLogger(“logger1”); 9 logger.info(“Hello my name is Mathew”); 10 logger.warning(“Hello my name is Mathew”); 11 logger.config(“Hello my…… Continue reading Java logging simple example

Operations that can be performed using JSON Pointer

This post explains the operations that can be performance on json data with the help of new JSONP 1.1 api. As we know from our previuos post JSON Pointer is a string syntax used to identify and locate a particular field or property in a json file. Once identified and located we can perform the…… Continue reading Operations that can be performed using JSON Pointer

JSON Pointer Example

This post explains JSON Pointer with an example. JSON Pointer is a standard that defines a string syntax, which can used to access a particular field or key value in the entire json document. For example in the below json document json document { “firstName”: “Duke”, “lastName”: “Java”, “age”: 18, “streetAddress”: “100 Internet Dr”, “city”:…… Continue reading JSON Pointer Example