What Is The Best Online JSON Formatter And Viewer

I wrote a post sometime back regarding using Notepad++ as offline JSON validator. There I touched upon briefly on a couple of websites which I regularly use to format or validate JSON documents online. Those are https://jsonlint.com/ & http://jsonviewer.stack.hu/. I also mentioned that I prefer http://jsonviewer.stack.hu/ because it parses larger JSON files efficiently & doesn’t … Read more

How To Solve XML Parsing Issue “Content is not allowed in prolog” In Java

If you have come to this post, then you are facing xml parsing issue in Java. Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) One common issue for this is BOM character. So what is a BOM (BYTE ORDER MARK) character? When you have … Read more

How To Fix “unable to find valid certification path to requested target” Error

If you are here, that means probably you have encountered below error: Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target         at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)         at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)         at sun.security.validator.Validator.validate(Validator.java:260)         at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)     … Read more

Draw Tree Or Graph Online Using Plain Text

Sometimes we need to draw a binary tree or graph online to explain related stuffs. I wanted to share a website where you can write your tree or graph definition in plain english & you will get a graphical representation of it. You will just have to define relations between the nodes in text, that’s … Read more