Click here to Skip to main content
15,905,682 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
success	true
massage	""
data	
44A120	
code	"44A120"
title	"44A120"
color	"0a1d81"
connectTime	"2019-02-04T13:04:28+03:30"
simNumber	"091551533"
categoryTitle	"ترکیش"
point	{…}
satTime	1549273039
satelite	12
speed	0
bearing	23
weight	null
temperature	null
tank	null
rfid	null
engineStatus	false
customIgnition	null
GSMSignalStrength	27
digitalInput1	false
digitalInput2	null
analogInput1	18
analogInput2	14
externalVoltage	13655
movement	true
place	"بزرگراه فرودگاه, استان تهران, ایران"
fuelLevel	null
canMil	null
canFuelUsed	null
canRpm	null
canCoolantTemp	null
canCruiseCS	null
canPTOstate	null
canDirIndicator	null
canEngineHours	null
virtualOdometer	"7023556"
IdlingTime	null
ECOIdlingTime	"0"
ECOAbsoluteIdlingTime	"563715"
EngineOn	"8"
totalOdometer	"7023556"
ECOEngineOn	"8"
ECOCornering	0
ECOHarshAcceleration	0
ECOBrakingEvents	0
ECOExtHrshBraking	0
ECOExtBraking	0
ECORpmRed	null
ECORpmGreen	null
ECOMaxRpm	null
ECOMaxSpeed	8
ECONormalSpeed	"2"
ECOOverspeed	"0"
Din4Counter	"5"
Din3Counter	null
Din2Counter	null
Din1Counter	null
fuelUsed	null
sensorIButton	"0"
dtcNumber	null
lastTime	"2019-02-04T13:07:19+03:30"


What I have tried:

Ususally I create json equivalentC# class using edit>pastespecial, but for this json I couldnt. Does anyone know how to create the equivalent c# class for this json?
Posted
Updated 3-Feb-19 23:23pm
Comments
Maciej Los 4-Feb-19 5:05am    
What's the problem?
You have to write a class which has several members, such as: success, massage, etc.
Come on! It's pretty easy!

1 solution

There is one reason for not being able to use Paste Special -> Paste JSON As Classes.
Your code snippet is not a valid JSON representation.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900