Typescript Get Value From Json Array Length In C