Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Json to Typescript generates empty file #25

Open
ak99372 opened this issue Mar 21, 2020 · 0 comments
Open

Json to Typescript generates empty file #25

ak99372 opened this issue Mar 21, 2020 · 0 comments

Comments

@ak99372
Copy link

ak99372 commented Mar 21, 2020

Using this json sample:

{
	"date": "2010-09-25",
	"Revenue": "65225000000.0",
	"Revenue Growth": "0.0",
	"Cost of Revenue": "39541000000.0",
	"Gross Profit": "25684000000.0",
	"R&D Expenses": "1782000000.0",
	"SG&A Expense": "5517000000.0",
	"Operating Expenses": "7299000000.0",
	"Operating Income": "18385000000.0",
	"Interest Expense": "0.0",
	"Income Tax Expense": "4527000000.0"
}

translates to blank typescript

// Generated by https://quicktype.io
//
// To change quicktype's target language, run command:
//
//   "Set quicktype target language"

if I remove some of the fields it eventually picks up but the json I'm working with has actually a lot more fields than this sample

@ak99372 ak99372 changed the title Json to Typescript doesn't generates empty file Json to Typescript generates empty file Mar 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant