Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5411

Refactor Packages(impl and utils) of JSON module.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.7.0
    • 1.7.0
    • json

    Description

      Hi devs,

      Here i would like to suggest few modifications to the package names of JSON module.
      1. org.apache.axis2.json.impl --> org.apache.axis2.json.gson as this explain the package content best
      2. org.apache.axis2.json.impl.utils ---> org.apache.axis2.json.gson.factory as all classes(JsonObject , JSONType, XmlNode classes are used by XmlNodeGenerator and XmlNodeGenerator class is being used by GsonXMLStreamReader/Writer, as well as JsonUtils class is being used by Json message receivers ) under the utils package are doing some works to the major classes like GsonXMLStreamReader/ Writer , JsonRPCMessageReceiver and JsonRPCInOnlyMessageReceiver.

      Most importantly this modifications won't do any major problems to the users as those are newly added packages.

      Attachments

        1. sampleChanges.patch
          2 kB
          Shameera
        2. packageChange.patch
          235 kB
          Shameera

        Activity

          People

            shameera Shameera
            shameera Shameera
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: