Tag Archives: json

  • Invoke Liferay JSON Web Service from Web Content Display Portlet

    Yes we can invoke Liferay JSON Web Service from Web Content Display Portlet too. Web Content Display Portlet is used for displaying HTML content in the portlet. However we can easily consume JSON Web Service from it. In this article we will build one small POC to consume JSON Web Service. Highlight of this article 1. Identify […]

    Post Tagged with , ,
    No Comments.
  • Create JSON by Jackson API

    Jackson API is a multi-purpose Java library for processing JSON. Using Jackson API we can process as well produce JSON in different ways. In this article we will show how to use this Jackson API for creating JSON. Maven Dependency:

    The above code will produce the below JSON Example 2: Jackson API to create […]

    Post Tagged with ,
    1 Comment.
  • Alloy Ajax in Liferay Portlet

    Liferay serveResource and alloy aui-io-request module made Ajax easy to implement in Liferay Portlet. If you have basic knowledge of Ajax and you want to learn how ajax call happens by Alloy A.io.request method then this article can help you to understand inside out. At the end of this article you will be able to know how A.io.request  works and what's the […]

    Post Tagged with , , , ,
  • JSON basics and Liferay API

      Aim of this Article: In this article I will explain the basics of JSON and how we can create JSON using Liferay API. Whats JSON: JSON stands for JavaScript Object Notation JSON is lightweight data interchange format JSON is language independent JSON JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy […]

    Post Tagged with , ,
    No Comments.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.