Typescript Get Value From Json String To Integer Samp