before a mod attempts to fold this into an older topic, hear me out. im just having one heck of a time trying to get this, while incredibly informative, json to post in an eyeball friendly manner.
in a list, I’ve gotten it to display a single letter in each list item, display the number of letters in the entire thing, and now its just crashing the app over and over again.
this is what i was able to get by slamming the wall of dmv text into a json formatter, it looks as if its one array with 140 some-odd items crammed into it. I’ve been trying this for almost 6 hours now and I’m starting to het to the point where I’m yelling at my laptop, lol.
the docs dont seem to have an answer for how to cut this one… and following any of the other tutorials on the forums has just lead to crashing
any suggestions would be greatly appreciated and incredibly welcome!
here’s the dmv website, i got the api to work properly, but this is giving me trouble…
Vehicle API
the confoundingly different api response:
{
“Count”: 142,
“Message”: “Results returned successfully. NOTE: Any missing decoded values should be interpreted as NHTSA does not have data on the specific variable. Missing value should NOT be interpreted as an indication that a feature or technology is unavailable for a vehicle.”,
“SearchCriteria”: “VIN(s): 5UXWX7C5BA",
“Results”: [
{
“ABS”: “”,
“ActiveSafetySysNote”: “”,
“AdaptiveCruiseControl”: “”,
“AdaptiveDrivingBeam”: “”,
“AdaptiveHeadlights”: “”,
“AdditionalErrorText”: “”,
“AirBagLocCurtain”: “”,
“AirBagLocFront”: “1st Row (Driver & Passenger)”,
“AirBagLocKnee”: “”,
“AirBagLocSeatCushion”: “”,
“AirBagLocSide”: “1st Row (Driver & Passenger)”,
“AutoReverseSystem”: “”,
“AutomaticPedestrianAlertingSound”: “”,
“AxleConfiguration”: “”,
“Axles”: “”,
“BasePrice”: “”,
“BatteryA”: “”,
“BatteryA_to”: “”,
“BatteryCells”: “”,
“BatteryInfo”: “”,
“BatteryKWh”: “”,
“BatteryKWh_to”: “”,
“BatteryModules”: “”,
“BatteryPacks”: “”,
“BatteryType”: “”,
“BatteryV”: “”,
“BatteryV_to”: “”,
“BedLengthIN”: “”,
“BedType”: “”,
“BlindSpotMon”: “”,
“BodyCabType”: “”,
“BodyClass”: “Sport Utility Vehicle (SUV)/Multi-Purpose Vehicle (MPV)”,
“BrakeSystemDesc”: “”,
“BrakeSystemType”: “”,
“BusFloorConfigType”: “Not Applicable”,
“BusLength”: “”,
“BusType”: “Not Applicable”,
“CAN_AACN”: “”,
“CIB”: “”,
“CashForClunkers”: “”,
“ChargerLevel”: “”,
“ChargerPowerKW”: “”,
“CoolingType”: “”,
“CurbWeightLB”: “”,
“CustomMotorcycleType”: “Not Applicable”,
“DaytimeRunningLight”: “”,
“DestinationMarket”: “”,
“DisplacementCC”: “2979.1682352”,
“DisplacementCI”: “181.8”,
“DisplacementL”: “3.0”,
“Doors”: “4”,
“DriveType”: “”,
“DriverAssist”: “”,
“DynamicBrakeSupport”: “”,
“EDR”: “”,
“ESC”: “”,
“EVDriveUnit”: “”,
“ElectrificationLevel”: “”,
“EngineConfiguration”: “”,
“EngineCycles”: “”,
“EngineCylinders”: “6”,
“EngineHP”: “300”,
“EngineHP_to”: “”,
“EngineKW”: “223.7100”,
“EngineManufacturer”: “”,
“EngineModel”: “”,
“EntertainmentSystem”: “”,
“ErrorCode”: “6”,
“ErrorText”: “6 - Incomplete VIN”,
“ForwardCollisionWarning”: “”,
“FuelInjectionType”: “”,
“FuelTypePrimary”: “Gasoline”,
“FuelTypeSecondary”: “”,
“GCWR”: “”,
“GCWR_to”: “”,
“GVWR”: “Class 1D: 5,001 - 6,000 lb (2,268 - 2,722 kg)”,
“GVWR_to”: “”,
“KeylessIgnition”: “”,
“LaneDepartureWarning”: “”,
“LaneKeepSystem”: “”,
“LowerBeamHeadlampLightSource”: “”,
“Make”: “BMW”,
“MakeID”: “452”,
“Manufacturer”: “BMW MANUFACTURER CORPORATION / BMW NORTH AMERICA”,
“ManufacturerId”: “968”,
“Model”: “X3”,
“ModelID”: “1719”,
“ModelYear”: “2011”,
“MotorcycleChassisType”: “Not Applicable”,
“MotorcycleSuspensionType”: “Not Applicable”,
“NCSABodyType”: “Compact Utility (Utility Vehicle Categories "Small" and "Midsize")”,
“NCSAMake”: “BMW”,
“NCSAMapExcApprovedBy”: “”,
“NCSAMapExcApprovedOn”: “”,
“NCSAMappingException”: “”,
“NCSAModel”: “X3”,
“NCSANote”: “”,
“Note”: “”,
“OtherBusInfo”: “”,
“OtherEngineInfo”: “”,
“OtherMotorcycleInfo”: “”,
“OtherRestraintSystemInfo”: “Head Inflatable Restraint for Driver, Front Passenger, Rear Outboard Driver-side and Rear Outboard Passenger-side. Knee Inflatable Restraint for Driver. Pretensioners for Driver and Front Passenger.”,
“OtherTrailerInfo”: “”,
“ParkAssist”: “”,
“PedestrianAutomaticEmergencyBraking”: “”,
“PlantCity”: “MUNICH”,
“PlantCompanyName”: “”,
“PlantCountry”: “GERMANY”,
“PlantState”: “”,
“PossibleValues”: “”,
“Pretensioner”: “Yes”,
“RearCrossTrafficAlert”: “”,
“RearVisibilitySystem”: “”,
“SAEAutomationLevel”: “”,
“SAEAutomationLevel_to”: “”,
“SeatBeltsAll”: “Manual”,
“SeatRows”: “”,
“Seats”: “”,
“SemiautomaticHeadlampBeamSwitching”: “”,
“Series”: “X3”,
“Series2”: “”,
“SteeringLocation”: “”,
“SuggestedVIN”: “”,
“TPMS”: “Direct”,
“TopSpeedMPH”: “”,
“TrackWidth”: “”,
“TractionControl”: “”,
“TrailerBodyType”: “Not Applicable”,
“TrailerLength”: “”,
“TrailerType”: “Not Applicable”,
“TransmissionSpeeds”: “”,
“TransmissionStyle”: “”,
“Trim”: “xDrive35i”,
“Trim2”: “SAV”,
“Turbo”: “”,
“VIN”: "5UXWX7C5BA”,
“ValveTrainDesign”: “”,
“VehicleType”: “MULTIPURPOSE PASSENGER VEHICLE (MPV)”,
“WheelBaseLong”: “”,
“WheelBaseShort”: “”,
“WheelBaseType”: “”,
“WheelSizeFront”: “”,
“WheelSizeRear”: “”,
“Wheels”: “”,
“Windows”: “”
}
]
}