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

  • Home
  • SEARCH
  • 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 8025923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:19:26+00:00 2026-06-04T23:19:26+00:00

The JSON looks like this: { favorited: false, truncated: false, annotations: [ { wpinfo:

  • 0

The JSON looks like this:

{
  "favorited": false,
  "truncated": false,
  "annotations": [
      {
          "wpinfo": {
              "type": "place",
              "url": "http://m.weibo.cn/"
          }
      }
  ],
  "reposts_count": 0
};

I don’t know which type I will declare with property ‘annotations’. I can’t say much English,and hope you can understand me. Thanks!

  • 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-04T23:19:27+00:00Added an answer on June 4, 2026 at 11:19 pm

    annotations is an array of object ( containing only one object in your case). So you can declare it like that :

    MyObject[] annotation;
    

    Where MyObject is a class containing a field wpinfo.

    Note: If your requirement is just to parse some JSon, you don’t need to creat classes, Jackson has a streaming API

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

Sidebar

Related Questions

I have a JSON string that looks like this: { package1: { type: envelope,
JSON looks like this: [{title:Modern\/Contemporary House of mine.,link:http:\/\/buildworx-mc.com\/forum\/showthread.php?tid=1718,images:[http:\/\/i1139.photobucket.com\/albums\/n555\/xDJBOUTIx\/house1.png,http:\/\/i1139.photobucket.com\/albums\/n555\/xDJBOUTIx\/House2.png,http:\/\/i1139.photobucket.com\/albums\/n555\/xDJBOUTIx\/House3.png,http:\/\/i1139.photobucket.com\/albums\/n555\/xDJBOUTIx\/House4.png,http:\/\/i1139.photobucket.com\/albums\/n555\/xDJBOUTIx\/House5.png,http:\/\/i1139.photobucket.com\/albums\/n555\/xDJBOUTIx\/House6.png]} I can get the title and
I have a JSON which looks like this { secInfo: [ { loginResult: 1,
I have JSON text that looks like this: { ok: true, totalPages: 256, arReports:
I have to process JSON files that looks like this: \u0432\u043b\u0430\u0434\u043e\u043c <b>\u043f\u0443\u0442\u0438\u043c<\/b> \u043d\u0430\u0447 Unfortunately,
I am getting JSON string from website. I have data which looks like this
My JSON looks like this: { person1@email.com:Person1, person65@email.com:Person65, person24@email.com:Person24 } It's returned in various
My JSON string looks like this (contained in a string variable called sJSON ):
My JSON response looks like this: { themes: [ [ Direction des Routes Secteur
My JSON string looks like this, [{id : 38,heading : Can you also figure

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.