Dynamically name a JSON property December 10, 2023 by Tarik Would this suit your needs ? var DTO = {}; DTO['New' + ClassName] = GetFormData();