Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8744353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:49:40+00:00 2026-06-13T11:49:40+00:00

I have the below code for retrieving a json response. I need to extract

  • 0

I have the below code for retrieving a json response. I need to extract the property ‘applicant’ and put it to the html text field. However I don’t know how to do it. I can see the response in the console but the text field shows [object Object], how can I retrieve it to the text field? Any hints? Thank you.

<html>
<head>
<script type="text/javascript" 

src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">


document.getElementById('sudata').value = budata;

}
});
</script>
</head>
<body>
<form name="form1" id="form1">
<input type="text" name="sudata" id="sudata" value="" size="100">
</form>
</body>
</html>

The response is here:

{"ops:world-patent-data": {
  "@xmlns":   {
    "ops": "http://ops.epo.org",
    "$": "http://www.epo.org/exchange",
    "ccd": "http://www.epo.org/ccd",
    "xlink": "http://www.w3.org/1999/xlink"
  },
  "ops:meta":   {
    "@name": "elapsed-time",
    "@value": "31"
  },
  "exchange-documents": {"exchange-document":   {
    "@system": "ops.epo.org",
    "@family-id": "35636806",
    "@country": "EP",
    "@doc-number": "1814517",
    "@kind": "A1",
    "bibliographic-data":     {
      "publication-reference": {"document-id":       [
                {
          "@document-id-type": "docdb",
          "country": {"$": "EP"},
          "doc-number": {"$": "1814517"},
          "kind": {"$": "A1"},
          "date": {"$": "20070808"}
        },
                {
          "@document-id-type": "epodoc",
          "doc-number": {"$": "EP1814517"},
          "date": {"$": "20070808"}
        }
      ]},
      "classifications-ipcr": {"classification-ipcr":       [
                {
          "@sequence": "1",
          "text": {"$": "A61K   9/    08            A I"}
        },
                {
          "@sequence": "2",
          "text": {"$": "A61K  31/    19            A I"}
        },
                {
          "@sequence": "3",
          "text": {"$": "A61K  31/   216            A I"}
        },
                {
          "@sequence": "4",
          "text": {"$": "A61K  47/    00            A I"}
        },
                {
          "@sequence": "5",
          "text": {"$": "C07C  57/    38            A I"}
        },
                {
          "@sequence": "6",
          "text": {"$": "C07C 229/    42            A I"}
        }
      ]},
      "patent-classifications": {"patent-classification":       [
                {
          "@sequence": "1",
          "classification-scheme":           {
            "@office": "EP",
            "@scheme": "EC"
          },
          "classification-symbol": {"$": "A61K9/00M5"}
        },
                {
          "@sequence": "2",
          "classification-scheme":           {
            "@office": "EP",
            "@scheme": "EC"
          },
          "classification-symbol": {"$": "A61K31/19"}
        },
                {
          "@sequence": "3",
          "classification-scheme":           {
            "@office": "EP",
            "@scheme": "EC"
          },
          "classification-symbol": {"$": "A61K31/216"}
        }
      ]},
      "application-reference":       {
        "@doc-id": "16272416",
        "document-id":         [
                    {
            "@document-id-type": "docdb",
            "country": {"$": "EP"},
            "doc-number": {"$": "05808069"},
            "kind": {"$": "A"}
          },
                    {
            "@document-id-type": "epodoc",
            "doc-number": {"$": "EP20050808069"},
            "date": {"$": "20051019"}
          },
                    {
            "@document-id-type": "original",
            "doc-number": {"$": "05808069"}
          }
        ]
      },
      "priority-claims": {"priority-claim":       [
                {
          "@sequence": "1",
          "@kind": "national",
          "document-id":           [
                        {
              "@document-id-type": "epodoc",
              "doc-number": {"$": "WO2005IN00339"},
              "date": {"$": "20051019"}
            },
                        {
              "@document-id-type": "original",
              "doc-number": {"$": "IN2005000339"}
            }
          ]
        },
                {
          "@sequence": "2",
          "@kind": "national",
          "document-id":           [
                        {
              "@document-id-type": "epodoc",
              "doc-number": {"$": "IN2004DE02332"},
              "date": {"$": "20041122"}
            },
                        {
              "@document-id-type": "original",
              "doc-number": {"$": "DE23322004"}
            }
          ]
        }
      ]},
      "parties":       {
        "applicants": {"applicant":         [
                    {
            "@sequence": "1",
            "@data-format": "epodoc",
            "applicant-name": {"name": {"$": "VENUS REMEDIES LTD [IN]"}}
          },
                    {
            "@sequence": "1",
            "@data-format": "original",
            "applicant-name": {"name": {"$": "VENUS REMEDIES LIMITED"}}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T11:49:41+00:00Added an answer on June 13, 2026 at 11:49 am

    Your budata variable contains an array. The value property of your element is a string property, so when you assign it an object, the object first gets converted with Object::toString(); which will return [object Object].

    If you’re trying to display the full contents of the applicant property, try:

    document.getElementById( 'sudata' ).value = JSON.stringify( budata );
    

    If you’re only trying to display specific parts of the array, you’ll have to specify what your expected output string is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the code like below. I am retrieving JSON from a web server.
I have below code in html. <li class=selected runat=server id=lihome><a href=/ISS/home.aspx title=Home><span>Home</span></a></li> Now I
I have below code behind in c# if (Session[cmpDictionaryTitle]!= null) { downloadLinks.Text += @<li><a
I have below html code in my aspx. <input type=hidden id=medicalLink value='<a href=/forms/contactus.aspx >Contact
I have below code: <a href=# id=@item.Id name=vote ><img src=/Content/images/021.png style=float:left alt= /></a> which
I have below code: class Program { static void Main(string[] args) { Task[] tasks
I have below code to insert a style into DOM (there is a use
I have below code.The logic here is if HostList conatains any blanck entry it
I have below code which overrides equals() and hashcode() methods. public boolean equals(Object obj)
I have below code snippet SimpleDateFormat dateFormat = new SimpleDateFormat( yyyy-MM-dd hh:mm:ss.SSS); String processedContentDate=2012-04-10

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.