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 9014603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:32:58+00:00 2026-06-16T03:32:58+00:00

I am working on a mobile app where I need to send objects back

  • 0

I am working on a mobile app where I need to send objects back and forth to a central server. Each object has around 10 attributes (either strings or ints).

When I want to send an object from the app to the server I make a POST where each attribute becomes a key-value pair.

When I want to get an object from the server to the app I simply reply to a POST request with the object’s attributes on a concatenated string (e.g., atribute1;atribute2;atribute3;atribute4;atribute5;etc.) and then I parse that data on the app by splitting the string and re-creating the object.

Question: Is it fine to use this method instead of formatting the strings as JSON or XML? I opted for this because of the simplicity, and I also believe I won’t lose any performance (in fact I might gain some). But I wanted to cross check to be sure.

  • 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-16T03:32:59+00:00Added an answer on June 16, 2026 at 3:32 am

    Here is an interesting site showing the performance difference between splitting strings and parsing json. I feel that if you’ve already got a system set up for sending data, you should be fine to stick with it.

    http://jsperf.com/json-parse-vs-string-split/4

    As for other dev’s JSON is a great and simple simple standard to stick with.

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

Sidebar

Related Questions

So I'm working on a mobile web app using jQuery Mobile, and I need
I am working on mobile app which has a mysql backend . Mysql is
I am working on a mobile app and I need to get the correct
I am working for mobile app. I am showing popup with content, If content
I am currently working on a mobile app that is going to communicate with
I'm working on a mobile web app, and in my page I have a
I am working on a mobile web app and am trying to remove the
I am working on a jquery mobile app, where i want to display the
My company is working on a dynamic mobile app that updates the look and
I have been working on a Windows Mobile app for a little while now

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.