Skip to content

JSON에 Key, Value 동적할당하기 #19

@fepanbr

Description

@fepanbr

json의 키와 값에 동적으로 String값을 할당할 수 없다.
그래서

data = {};
data[variable1] = variable2;

이런식으로 할당할 수 있다.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions