Typescript Load Json From String To Int In C