{"id":373,"date":"2021-07-03T12:00:00","date_gmt":"2021-07-03T07:30:00","guid":{"rendered":"https:\/\/rabsana.ir\/tutorials\/?p=373"},"modified":"2021-07-18T18:33:52","modified_gmt":"2021-07-18T14:03:52","slug":"json-formatting-with-jq-linting-automation","status":"publish","type":"post","link":"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/","title":{"rendered":"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc  JSON \u0648\u062e\u0648\u062f\u06a9\u0627\u0631 \u0633\u0627\u0632\u06cc jq \u0648 CI\/C \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 linting"},"content":{"rendered":"<h2 style=\"text-align: center;\"><b>\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JavaScript Object Notation<\/b><\/h2>\n<p style=\"text-align: center;\">\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0642\u0631\u0627\u0631 \u0627\u0633\u062a \u0637\u0631\u06cc\u0642\u0647 \u0641\u0631\u0645\u062a \u062f\u0647\u06cc JSON \u0648 \u062e\u0648\u062f\u06a9\u0627\u0631\u0633\u0627\u0632\u06cc jq \u0648 CI\/C \u0631\u0627 \u0628\u06cc\u0627\u0645\u0648\u0632\u06cc\u0645.<\/p>\n<p style=\"text-align: center;\"><strong>\u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 \u062a\u062d\u062a \u0648\u0628 \u0632\u0645\u0627\u0646\u06cc \u0645\u062f\u0631\u0646 \u0645\u062d\u0633\u0648\u0628 \u0645\u06cc\u0634\u0648\u062f \u06a9\u0647 \u06cc\u06a9 REST API \u0628\u0631\u0627\u06cc \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0646 JSON \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f. \u0628\u0631\u0627\u06cc \u0634\u06a9\u0644 \u062f\u0647\u06cc JSON \u0647\u0627\u060c \u0646\u06cc\u0627\u0632 \u0627\u0633\u062a \u06a9\u0647 \u0627\u0648\u0644 \u0622\u0646\u0647\u0627 \u0631\u0627 \u062a\u062c\u0632\u06cc\u0647 \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0627\u06a9\u062b\u0631\u0627 \u0628\u0639\u062f \u0627\u0632 \u062a\u062c\u0632\u06cc\u0647 \u0634\u062f\u0646 \u0628\u0647 \u0635\u0648\u0631\u062a \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u062f\u0631 \u0645\u06cc \u0622\u06cc\u0646\u062f. \u0633\u067e\u0633 \u0633\u0631\u0648\u06cc\u0633 daemon \u0647\u0627 \u0628\u0631\u0627\u06cc \u062e\u0648\u062f\u06a9\u0627\u0631\u0633\u0627\u0632\u06cc, \u0622\u0646 API \u0647\u0627 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0648 \u062a\u0633\u062a \u0645\u06cc\u06a9\u0646\u0646\u062f.<\/strong><\/p>\n<p>\u0628\u0627 \u06cc\u06a9 REST API \u062c\u062f\u06cc\u062f \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u062f. \u0627\u0644\u0628\u062a\u0647 \u06cc\u0627\u062f\u062a\u0627\u0646 \u0628\u0627\u0634\u062f \u06a9\u0647 \u0627\u06a9\u062b\u0631 \u0627\u0648\u0642\u0627\u062a \u0646\u0642\u0637\u0647 \u067e\u0627\u06cc\u0627\u0646 \u0622\u0646 \u063a\u0627\u0641\u0644\u06af\u06cc\u0631 \u06a9\u0646\u0646\u062f\u0647 \u0627\u0633\u062a.&nbsp;<\/p>\n<p>\u0639\u0645\u0644 \u0645\u0633\u062a\u0646\u062f\u0633\u0627\u0632\u06cc \u06af\u0627\u0647\u06cc \u0627\u0648\u0642\u0627\u062a \u0628\u0647 \u0634\u0645\u0627 \u067e\u06cc\u0634\u0646\u0647\u0627\u062f \u0645\u06cc\u06a9\u0646\u062f \u06a9\u0647 \u0628\u0647 \u06cc\u06a9 \u0645\u062c\u0645\u0648\u0639\u0647 \u0627\u0632 SDK \u0647\u0627 \u0648 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0632\u0628\u0627\u0646 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u062a\u0648\u062c\u0647 \u0648 \u0646\u06af\u0627\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u06cc\u0627 \u0628\u0631\u0627\u06cc \u0627\u0631\u0633\u0627\u0644 \u06cc\u06a9 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 <i>curl <\/i>\u06cc\u0627 <i>wget <\/i>\u062f\u0631 CLI\u060c \u0634\u0645\u0627 \u0631\u0627 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc\u06cc \u0645\u06cc\u06a9\u0646\u062f.&nbsp;<\/p>\n<p>\u0627\u06af\u0631 \u0628\u0647 \u0641\u0631\u0645\u062a \u062f\u0647\u06cc \u0648 \u0634\u06a9\u0644 JSON \u062a\u0648\u062c\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0645\u06cc\u0628\u06cc\u0646\u06cc\u062f \u06a9\u0647 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc CLI \u06cc\u06a9 \u0633\u0631\u06cc \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0628\u0631\u0627\u06cc \u06a9\u0645\u06a9 \u06a9\u0631\u062f\u0646 \u0628\u0647 \u062f\u0627\u0646\u0644\u0648\u062f \u0648 \u0686\u0627\u067e \u062e\u0631\u0648\u062c\u06cc \u0647\u0627\u06cc string \u062f\u0627\u0631\u062f.&nbsp;<\/p>\n<p>\u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u06a9\u0647 \u067e\u0627\u0633\u062e \u062f\u0647\u06cc \u0628\u0647 \u0631\u0634\u062a\u0647 \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u0634\u062f\u0647 \u0627\u0632 <i>curl <\/i>\u060c \u0637\u0648\u0644\u0627\u0646\u06cc \u0648 \u06af\u06cc\u062c \u06a9\u0646\u0646\u062f\u0647 \u0628\u0627\u0634\u062f.\u0627\u0632 \u0627\u06cc\u0646 \u0631\u0648 \u0628\u0631\u0627\u06cc \u06a9\u0648\u0686\u06a9\u062a\u0631 \u06a9\u0631\u062f\u0646 \u0644\u06cc\u0633\u062a \u0646\u062a\u0627\u06cc\u062c\u060c \u0646\u06cc\u0627\u0632 \u0627\u0633\u062a \u06a9\u0647 \u0641\u0631\u0645\u062a \u062f\u0647\u06cc JSON \u062a\u062c\u0632\u06cc\u0647 \u0648 \u0641\u06cc\u0644\u062a\u0631 \u0634\u0648\u062f.<\/p>\n<p>&nbsp;\u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0647 \u0645\u0634\u0627\u0647\u062f\u0647 \u0646\u062a\u0627\u06cc\u062c \u062f\u0631 CLI \u06a9\u0645\u06a9 \u0645\u06cc \u06a9\u0646\u062f \u0648 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u0642\u0627\u0628\u0644 \u067e\u0631\u062f\u0627\u0632\u0634 \u062f\u0631 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0647\u0627 \u0631\u0627 \u0628\u0647 \u062d\u062f\u0627\u0642\u0644 \u0645\u06cc\u0631\u0633\u0627\u0646\u062f.<\/p>\n<p style=\"text-align: center\"><strong>\u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u062a\u0645\u0627\u0645 \u067e\u0631\u0648\u0698\u0647 \u0647\u0627 \u0631\u0627 \u0627\u0632 \u06af\u06cc\u062a \u0644\u0628 \u0628\u0627\u0632\u06cc\u0627\u0628\u06cc \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 20 \u067e\u0631\u0648\u0698\u0647 \u0627\u0648\u0644\u060c \u06cc\u06a9 \u0646\u062a\u06cc\u062c\u0647 \u0635\u0641\u062d\u0647 \u0628\u0646\u062f\u06cc \u0634\u062f\u0647 \u0631\u0627 \u0628\u0631\u0645\u06cc\u06af\u0631\u062f\u0627\u0646\u062f:<\/strong><\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>$ curl \"https:\/\/gitlab.com\/api\/v4\/projects\"<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n<p>\u0645\u0633\u062a\u0646\u062f\u0633\u0627\u0632\u06cc REST API \u0647\u0627 \u062f\u0631 \u06af\u06cc\u062a \u0644\u0628\u060c \u062f\u0631 \u0627\u0628\u062a\u062f\u0627 \u0634\u0645\u0627 \u0631\u0627 \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 \u0645\u062f\u06cc\u0631\u06cc\u062a \u062e\u0637\u0627 \u0648 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0631\u0627\u0647\u0646\u0645\u0627\u06cc\u06cc \u0645\u06cc\u06a9\u0646\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0645\u0627 \u0627\u0632 \u06cc\u06a9 Access Token \u0634\u062e\u0635\u06cc \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062a\u062f \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u0647 \u0627\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0646\u06cc\u0632 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 access token \u0647\u0627\u06cc \u067e\u0631\u0648\u0698\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0686\u0648\u0646 \u0627\u06cc\u0646 \u0646\u0648\u0639 \u062a\u0648\u06a9\u0646 \u0647\u0627 \u0645\u0648\u0642\u0639 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a\u060c \u0628\u0647 \u0627\u0641\u0631\u0627\u062f \u0627\u062c\u0627\u0632\u0647 \u0646\u0645\u06cc\u062f\u0647\u0646\u062f \u06a9\u0647 \u0627\u0632 \u0645\u062f\u0627\u0631\u06a9 \u0634\u062e\u0635\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u0646\u062f.<\/p>\n<h2>\u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a REST API<\/h2>\n<p>\u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u0627\u06cc\u0646 \u06a9\u0647 \u0647\u0645\u0647 \u06cc \u0646\u0642\u0637\u0647 \u067e\u0627\u06cc\u0627\u0646 \u0647\u0627 \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 \u062f\u0633\u062a\u0631\u0633\u06cc \u0646\u0627\u0634\u0646\u0627\u0633 \u06cc\u0627 anonymous access \u0642\u0627\u0628\u0644 \u062f\u0633\u062a\u0631\u0633\u06cc \u0646\u06cc\u0633\u062a\u0646\u062f\u060c \u0646\u06cc\u0627\u0632 \u0627\u0633\u062a \u06a9\u0647 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0634\u0648\u0646\u062f.<\/p>\n<p style=\"text-align: center\">\u0633\u0639\u06cc \u06a9\u0646\u06cc\u062f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0632\u06cc\u0631 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u067e\u0631\u0648\u0641\u0627\u06cc\u0644 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0631\u0627 \u0648\u0627\u06a9\u0634\u06cc \u06cc\u0627 fetch \u06a9\u0646\u06cc\u062f:&nbsp;&nbsp;<\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>$ curl \"https:\/\/gitlab.com\/api\/v4\/user\"\n{\"message\":\"401 Unauthorized\"}<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n<p>\u062f\u0631\u062e\u0648\u0627\u0633\u062a API \u062f\u0631 \u0645\u0642\u0627\u0628\u0644 \u0646\u0642\u0637\u0647 \u067e\u0627\u06cc\u0627\u0646 <i>user\/<\/i> \u060c \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u062f \u06a9\u0647 access token \u0634\u062e\u0635\u06cc \u0631\u0627 \u0627\u0632 \u06cc\u06a9 \u062f\u0631\u062e\u0648\u0627\u0633\u062a ( \u0645\u062b\u0644\u0627 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0633\u0631\u0628\u0631\u06af)\u060c \u0627\u0646\u062a\u0642\u0627\u0644 \u062f\u0647\u062f \u0648 \u0628\u0631\u0627\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u0627\u0641\u0634\u0627 \u0648 \u0644\u0648 \u0631\u0641\u062a\u0646 \u0645\u062f\u0627\u0631\u06a9 \u062f\u0631 \u0645\u062d\u06cc\u0637 \u062a\u0631\u0645\u06cc\u0646\u0627\u0644\u060c \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u0646 \u062a\u0648\u06a9\u0646 \u0648 \u0645\u0642\u062f\u0627\u0631\u0634 \u0631\u0627 \u0628\u0647 \u0645\u062d\u06cc\u0637 \u06a9\u0627\u0631\u0628\u0631 \u0627\u0631\u0633\u0627\u0644 \u06a9\u0646\u06cc\u062f. \u0627\u0632 \u0627\u06cc\u0646 \u0631\u0648 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 ZSH \u0648 \u067e\u0644\u0627\u06af\u06cc\u0646 env. \u060c\u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u06a9\u0627\u0631 \u0627\u0631\u0633\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0645\u062a\u063a\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0645\u062d\u06cc\u0637 \u067e\u0648\u0633\u062a\u0647 \u062e\u0648\u062f\u060c \u062e\u0648\u062f\u06a9\u0627\u0631 \u06a9\u0646\u06cc\u062f.<\/p>\n<p style=\"text-align: center\">\u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0631\u0627\u06cc \u06cc\u06a9\u0628\u0627\u0631 \u0628\u0647 env. \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0645\u062d\u06cc\u0637 \u067e\u0648\u0633\u062a\u0647 \u062a\u0627\u0646\u060c \u0645\u0646\u0628\u0639 \u06cc\u0627 \u0633\u0648\u0631\u0633 \u0628\u062f\u0647\u06cc\u062f:<\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>$ vim ~\/.env\nexport GITLAB_TOKEN=\u201d...\u201d\n$ source ~\/.env<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n<p>\u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0647\u0627 \u0648 \u06a9\u0627\u0645\u0646\u062a \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062f\u0631 \u067e\u0648\u0633\u062a\u0647 \u0645\u062d\u06cc\u0637&nbsp; \u0627\u062c\u0631\u0627 \u0634\u062f\u0647 \u0627\u0646\u062f\u060c \u0645\u06cc\u062a\u0648\u0627\u0646\u0646\u062f \u0628\u0647 \u0645\u062a\u063a\u06cc\u0631&nbsp; <i>GITLAB_TOKEN$ <\/i>\u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u0646\u062f.&nbsp;<\/p>\n<p style=\"text-align: center\">\u062d\u0627\u0644 \u0628\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0633\u0631\u0628\u0631\u06af \u0645\u062c\u0648\u0632 \u0628\u0647 \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u060c \u062f\u0648\u0628\u0627\u0631\u0647 \u0633\u0639\u06cc \u06a9\u0646\u06cc\u062f \u0646\u0642\u0637\u0647 \u067e\u0627\u06cc\u0627\u0646 API \u06a9\u0627\u0631\u0628\u0631 \u0631\u0627 \u0627\u0633\u062a\u0639\u0644\u0627\u0645 \u06a9\u0646\u06cc\u062f :<\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>$ curl -H \"Authorization: Bearer $GITLAB_TOKEN\" \"https:\/\/gitlab.com\/api\/v4\/user\"<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n<p>\u0628\u0647 \u06cc\u0627\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0627\u062f\u0645\u06cc\u0646 \u0647\u0627 \u0645\u06cc\u062a\u0648\u0627\u0646\u0646\u062f \u0628\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0647\u0645\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f \u0648 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0646\u06cc\u0632 \u0641\u0642\u0637 \u0645\u06cc\u062a\u0648\u0627\u0646\u0646\u062f \u067e\u0631\u0648\u0641\u0627\u06cc\u0644 \u06a9\u0627\u0631\u0628\u0631\u06cc \u062e\u0648\u062f\u0634\u0627\u0646 \u0631\u0627 \u0628\u0628\u06cc\u0646\u0646\u062f.<\/p>\n<h2>\u062f\u0631 JSON \u0686\u06af\u0648\u0646\u0647 \u0628\u0647 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0647\u0627 \u067e\u0627\u0633\u062e \u062f\u0627\u062f\u0647 \u0645\u06cc\u0634\u0648\u062f\u061f<\/h2>\n<p>API \u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u06af\u06cc\u062a \u0644\u0628\u060c \u0686\u0646\u062f\u06cc\u0646 \u0645\u0646\u0628\u0639 \u0648 \u0646\u0642\u0637\u0647 \u067e\u0627\u06cc\u0627\u0646 URL \u0641\u0631\u0627\u0647\u0645 \u06a9\u0631\u062f\u0647 \u0627\u0646\u062f. \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0631\u0627\u0628\u0637 \u06a9\u0627\u0631\u0628\u0631\u06cc \u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc \u0645\u06cc\u062a\u0648\u0627\u0646 \u0647\u0631 \u0686\u06cc\u0632\u06cc \u06a9\u0647 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0645\u06cc\u0634\u0648\u062f \u0631\u0627 \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0631\u062f. \u067e\u0633 \u0627\u0632 \u0627\u0631\u0633\u0627\u0644 \u062f\u0631\u062e\u0648\u0627\u0633\u062a API\u060c \u06cc\u06a9 \u067e\u06cc\u0627\u0645 \u067e\u0627\u0633\u062e \u06a9\u0647 \u0634\u0627\u0645\u0644 \u06cc\u06a9 body \u0627\u0632 \u0646\u0648\u0639 string \u06cc\u0627 \u0645\u062a\u0646 \u0627\u0633\u062a\u060c \u062f\u0631\u06cc\u0627\u0641\u062a\u062a \u0645\u06cc\u0634\u0648\u062f. \u062f\u0633\u062a\u0648\u0631 <i>curl<\/i> \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0627\u06a9\u062b\u0631 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0633\u0631\u0628\u0631\u06af \u067e\u0627\u0633\u062e \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0631\u0641\u0639 \u0627\u0634\u06a9\u0627\u0644 \u0645\u0641\u06cc\u062f \u0627\u0633\u062a \u0631\u0627 \u0641\u0631\u0627\u0647\u0645 \u06a9\u0646\u062f. \u0633\u0637\u0648\u062d \u0686\u0646\u062f\u06af\u0627\u0646\u0647 verbose\u060c \u06cc\u06a9 \u062e\u0631\u0648\u062c\u06cc \u0641\u0639\u0627\u0644 \u0645\u06cc\u06a9\u0646\u062f \u06a9\u0647 \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 <i>vvv-<\/i> \u060c \u0628\u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u0627\u0634\u06a9\u0627\u0644 \u0632\u0627\u062f\u06cc\u06cc \u06cc\u0627 debug \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>$ curl -vvv \"https:\/\/gitlab.com\/api\/v4\/projects\"\n[...]\n* SSL connection using TLSv1.2 \/ ECDHE-RSA-CHACHA20-POLY1305\n* ALPN, server accepted to use h2\n* Server certificate:\n*  subject: CN=gitlab.com\n*  start date: Jan 21 00:00:00 2021 GMT\n*  expire date: May 11 23:59:59 2021 GMT\n*  subjectAltName: host \"gitlab.com\" matched cert's \"gitlab.com\"\n*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA\n*  SSL certificate verify ok.\n[...]\n&gt; GET \/api\/v4\/projects HTTP\/2\n&gt; Host: gitlab.com\n&gt; User-Agent: curl\/7.64.1\n&gt; Accept: *\/*\n[...]\n&lt; HTTP\/2 200\n&lt; date: Mon, 19 Apr 2021 11:25:31 GMT\n&lt; content-type: application\/json\n[...]\n[{&quot;id&quot;:25993690,&quot;description&quot;:&quot;project for adding issues&quot;,&quot;name&quot;:&quot;project-for-issues-1e1b6d5f938fb240&quot;,&quot;name_with_namespace&quot;:&quot;gitlab-qa-sandbox-group \/ qa-test-2021-04-19-11-13-01-d7d873fd43cd34b6 \/ project-for-issues-1e1b6d5f938fb240&quot;,&quot;path&quot;:&quot;project-for-issues-1e1b6d5f938fb240&quot;,&quot;path_with_namespace&quot;:&quot;gitlab-qa-sandbox-group\/qa-test-2021-04-19-11-13-01-d7d873fd43cd34b6\/project-for-issues-1e1b6d5f938fb240&quot;\n[... JSON content ...]\n&quot;avatar_url&quot;:null,&quot;web_url&quot;:&quot;https:\/\/gitlab.com\/groups\/gitlab-qa-sandbox-group\/qa-test-2021-04-19-11-12-56-7f3128bd0e41b92f&quot;}}]\n* Closing connection 0<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n<p>\u062e\u0631\u0648\u062c\u06cc \u062f\u0633\u062a\u0648\u0631 <i>curl<\/i> \u060c \u062f\u06cc\u062f \u0648 \u0646\u06af\u0631\u0634 \u0645\u0641\u06cc\u062f\u06cc \u0631\u0627 \u0646\u0633\u0628\u062a \u0628\u0647 \u0646\u0633\u062e\u0647 \u0647\u0627 \u0648 \u0631\u0645\u0632\u0647\u0627\u06cc TLS \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u06a9\u0646\u062f. \u062e\u0637\u0648\u0637 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0628\u0627 &gt; \u0648 \u062e\u0637\u0648\u0637 \u067e\u0627\u0633\u062e \u0646\u06cc\u0632 \u0628\u0627 &lt;&nbsp; \u0634\u0631\u0648\u0639 \u0645\u06cc\u0634\u0648\u0646\u062f.&nbsp; String \u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 body \u067e\u0627\u0633\u062e\u060c \u0628\u0639\u0646\u0648\u0627\u0646 JSON \u0631\u0645\u0632\u06af\u0630\u0627\u0631\u06cc \u0634\u062f\u0647 \u0627\u0646\u062f.<\/p>\n<h2>\u0686\u06af\u0648\u0646\u0647 \u0645\u06cc\u062a\u0648\u0627\u0646 \u0633\u0627\u062e\u062a\u0627\u0631 \u06cc\u06a9 JSON \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u0634\u062f\u0647 \u0631\u0627 \u062f\u06cc\u062f\u061f<\/h2>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a \u0646\u062d\u0648\u0647 \u0633\u0627\u062e\u062a\u0627\u0631 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc JSON \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u0634\u062f\u0647 \u0631\u0627 \u0628\u0637\u0648\u0631 \u06a9\u0644\u06cc \u0645\u0648\u0631\u062f \u0628\u0631\u0631\u0633\u06cc \u0642\u0631\u0627\u0631 \u0645\u06cc\u062f\u0647\u06cc\u0645 :<\/p>\n<ul>\n<li style=\"font-weight: 400\">\u0627\u0632 [ \u2026 ] \u0628\u0631\u0627\u06cc \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u06a9\u0631\u062f\u0646 \u0622\u0631\u0627\u06cc\u0647 \u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u0634\u0648\u062f.<\/li>\n<li style=\"font-weight: 400\">\u0627\u0632 { \u2026 } \u0628\u0631\u0627\u06cc \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u062f\u06cc\u06a9\u0634\u0646\u0631\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u0634\u0648\u062f.&nbsp;<\/li>\n<\/ul>\n<p>\u062f\u06cc\u06a9\u0634\u0646\u0631\u06cc \u0647\u0627 \u0628\u0647 \u0627\u0633\u0645 \u0647\u0627\u06cc \u0622\u0631\u0627\u06cc\u0647 \u0647\u0627\u06cc \u0627\u0646\u062c\u0645\u0646\u06cc\u060c \u0646\u0642\u0634\u0647 \u0647\u0627 \u0648 \u2026 \u0647\u0645 \u0634\u0646\u0627\u062e\u062a\u0647 \u0634\u062f\u0647 \u0627\u0646\u062f.<\/p>\n<ul>\n<li style=\"font-weight: 400\">\u062f\u0633\u062a\u0648\u0631 \u201dkey\u201d: value \u06cc\u06a9 \u062c\u0641\u062a key-value \u0631\u0627 \u062f\u0631 \u062f\u06cc\u06a9\u0634\u0646\u0631\u06cc \u0646\u0634\u0627\u0646 \u0645\u06cc\u062f\u0647\u062f \u06a9\u0647 \u0628\u0627 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u201d \u201d \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u0645\u06cc \u0634\u0648\u0646\u062f.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/li>\n<\/ul>\n<p>JSON \u0634\u0627\u0645\u0644 \u0686\u0646\u062f\u06cc\u0646 \u0646\u0648\u0639 \u0645\u062a\u063a\u06cc\u0631 \u0645\u062b\u0644 int \u060cBoolean \u060cfloating \u0648 &#8230; \u0627\u0633\u062a \u06a9\u0647 \u0647\u0631 \u06a9\u062f\u0627\u0645 \u0628\u0647 \u06cc\u06a9 \u0634\u06a9\u0644 \u062e\u0627\u0635 \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u0645\u06cc\u0634\u0648\u0646\u062f.<\/p>\n<p>\u0627\u06af\u0631 \u06cc\u06a9 \u06a9\u0644\u06cc\u062f \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u0645 \u06a9\u0647 \u0646\u0648\u0639 \u0645\u062a\u063a\u06cc\u0631 \u0622\u0646 \u062a\u0646\u0638\u06cc\u0645 \u0646\u0634\u062f\u0647 \u0628\u0627\u0634\u062f\u060c \u0645\u0639\u0645\u0648\u0644\u0627 REST API \u0647\u0627 \u0622\u0646 \u0631\u0627 \u0628\u0635\u0648\u0631\u062a null&nbsp; \u0628\u0631\u0645\u06cc\u06af\u0631\u062f\u0627\u0646\u0646\u062f.&nbsp;&nbsp;<\/p>\n<p>\u0628\u0627 \u0627\u062c\u0631\u0627 \u06a9\u0631\u062f\u0646 Linters\u060c \u0633\u0627\u062e\u062a\u0627\u0631 \u062f\u0627\u062f\u0647 \u0647\u0627 \u062a\u0627\u06cc\u06cc\u062f \u0645\u06cc\u0634\u0648\u062f. \u0645\u0627\u0698\u0648\u0644 Python JSON \u0645\u06cc \u062a\u0648\u0627\u0646\u062f JSON string \u0647\u0627 \u0631\u0627 \u062a\u062c\u0632\u06cc\u0647 \u0648 lint \u06a9\u0646\u062f.<\/p>\n<p style=\"text-align: center\"><b>Jq \u06cc\u06a9 \u067e\u0631\u062f\u0627\u0632\u0646\u062f\u0647 \u0633\u0628\u06a9 \u0648 \u0627\u0646\u0639\u0637\u0627\u0641 \u067e\u0630\u06cc\u0631 CLI \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc\u062a\u0648\u0627\u0646 \u0627\u0632 \u0622\u0646 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0627\u0628\u0632\u0627\u0631 \u0645\u0633\u062a\u0642\u0644 \u0628\u0631\u0627\u06cc \u062a\u062c\u0632\u06cc\u0647 \u0648 \u0627\u0639\u062a\u0628\u0627\u0631\u0633\u0646\u062c\u06cc \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc JSON&nbsp; \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f.<\/b><\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>$ echo '[{\"key\": \"broken\"}' | python -m json.tool\nExpecting object: line 1 column 19 (char 18)<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n<p>Jq \u062f\u0631 \u067e\u06a9\u06cc\u062c \u0645\u0646\u06cc\u062c\u0631\u0647\u0627\u06cc \u0627\u06a9\u062b\u0631 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0647\u0627 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u0648 \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u0645 \u0628\u0647 \u0622\u0646\u0647\u0627 \u062f\u0633\u062a\u0631\u0633\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u0645.<\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>$ curl \"https:\/\/gitlab.com\/api\/v4\/projects\" | jq\n[\n  {\n    \"id\": 25994891,\n    \"description\": \"...\",\n    \"name\": \"...\",\n[...]\n    \"forks_count\": 0,\n    \"star_count\": 0,\n    \"last_activity_at\": \"2021-04-19T11:50:24.292Z\",\n    \"namespace\": {\n      \"id\": 11528141,\n      \"name\": \"...\",\n[...]\n    }\n  }\n]<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n<h2>\u062a\u0627\u062b\u06cc\u0631 Dive \u062f\u0631 \u0633\u0627\u062e\u062a\u0627\u0631 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc JSON<\/h2>\n<p>\u0642\u062f\u0631\u062a \u0648\u0627\u0642\u0639\u06cc jq&nbsp; \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646 \u0627\u0632 \u0622\u0646 \u0628\u0631\u0627\u06cc \u062a\u062c\u0632\u06cc\u0647 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc JSON \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f.<\/p>\n<p><b>\u0646\u06a9\u062a\u0647:<\/b><\/p>\n<p>Jq \u0628\u0631\u0627\u06cc \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc JSON \u0647\u0645\u0627\u0646\u0646\u062f sed \u0627\u0633\u062a.\u0647\u0645\u0686\u0646\u06cc\u0646 \u0645\u062b\u0644 sed, awk, grep etc. \u0645\u06cc \u062a\u0648\u0627\u0646\u062f slice\u060c&nbsp; \u0641\u06cc\u0644\u062a\u0631\u060c \u0646\u0642\u0634\u0647 \u0648 \u062a\u0628\u062f\u06cc\u0644 \u0633\u0627\u062e\u062a\u0627\u0631 \u062f\u0627\u062f\u0647 \u0647\u0627 \u0631\u0627 \u0628\u0647&nbsp; \u0622\u0633\u0627\u0646\u06cc \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u062f \u0648 \u0628\u0647 \u0634\u0645\u0627 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u062f\u0647\u062f \u06a9\u0647 \u0645\u062a\u0646 \u0647\u0627 \u0631\u0627 \u062f\u0633\u062a\u06a9\u0627\u0631\u06cc \u0648 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u062e\u0631\u0648\u062c\u06cc \u0632\u06cc\u0631 \u0646\u0634\u0627\u0646 \u0645\u06cc\u062f\u0647 \u06a9\u0647 \u06cc\u06a9 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0686\u06af\u0648\u0646\u0647 \u0645\u06cc\u062a\u0648\u0627\u0646\u062f \u0645\u062c\u062f\u062f\u0627 \u062f\u0631 \u0628\u0631\u0627\u0628\u0631 API \u067e\u0631\u0648\u0698\u0647 \u0627\u062c\u0631\u0627 \u0634\u0648\u062f \u0648\u0644\u06cc \u062e\u0631\u0648\u062c\u06cc \u0622\u0646 \u0628\u0647 jq \u0645\u0646\u062a\u0642\u0644 \u0634\u0648\u062f.<\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>$ echo '[{\"key\": \"broken\"}' | jq\nparse error: Unfinished JSON term at EOF at line 2, column 0<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n<h2>\u0622\u0631\u0627\u06cc\u0647 \u0647\u0627 \u0648 \u062f\u06cc\u06a9\u0634\u0646\u0631\u06cc \u0647\u0627<\/h2>\n<p>\u0645\u062c\u0645\u0648\u0639\u0647 \u0646\u062a\u0627\u06cc\u062c API \u0647\u0627\u060c \u0627\u06a9\u062b\u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0622\u06cc\u062a\u0645 \u0648 \u0645\u0648\u0627\u0631\u062f\u06cc \u0627\u0632 \u06cc\u06a9 \u0622\u0631\u0627\u06cc\u0647 \u0628\u0627\u0632\u06af\u0631\u062f\u0627\u0646\u06cc \u0645\u06cc\u0634\u0648\u0646\u062f. \u06cc\u06a9 \u0622\u06cc\u062a\u0645 \u062e\u0648\u062f\u0634 \u0628\u0647 \u062a\u0646\u0647\u0627\u06cc\u06cc \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u06cc\u06a9 \u0645\u0642\u062f\u0627\u0631 \u06cc\u0627 \u06cc\u06a9 \u0634\u06cc JSON \u0628\u0627\u0634\u062f.<\/p>\n<p style=\"text-align: center\">\u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u0627\u0632 \u067e\u0627\u0633\u062e GitLab API \u0647\u0627 \u067e\u06cc\u0631\u0648\u06cc \u0645\u06cc\u06a9\u0646\u062f \u0648 \u06cc\u06a9 \u0622\u0631\u0627\u06cc\u0647 \u0627\u0632 \u062f\u06cc\u06a9\u0634\u0646\u0631\u06cc \u0647\u0627 \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062c\u0645\u0648\u0639\u0647 \u0627\u06cc\u06cc \u0627\u0632 \u0646\u062a\u0627\u06cc\u062c \u062a\u0648 \u062f\u0631 \u062a\u0648 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u06a9\u0646\u062f:<\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>$ vim result.json\n[\n  {\n    \"id\": 1,\n    \"name\": \"project1\"\n  },\n  {\n    \"id\": 2,\n    \"name\": \"project2\"\n  },\n  {\n    \"id\": 3,\n    \"name\": \"project-internal-dev\",\n    \"namespace\": {\n      \"name\": \"EMOJI\"\n    }\n  }\n]<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n<p>\u0628\u0631\u0627\u06cc \u0686\u0627\u067e \u0645\u062d\u062a\u0648\u0627\u06cc \u0641\u0627\u06cc\u0644 \u062f\u0631 Stdout\u060c \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 cat \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u0634\u0648\u062f. \u062e\u0631\u0648\u062c\u06cc \u0633\u0627\u062e\u062a\u0627\u0631 \u062f\u0627\u062f\u0647 \u060c \u0622\u0631\u0627\u06cc\u0647 \u0627\u06cc\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0627\u0632 \u0622\u0646 \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0648 \u0686\u0627\u067e \u062a\u0645\u0627\u0645 \u0645\u0648\u0627\u0631\u062f \u0628\u0647 \u06a9\u0645\u06a9 \u062f\u0633\u062a\u0648\u0631 <strong>-c .[ ]<\/strong><strong>&nbsp;<\/strong> \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u0634\u0648\u062f.<\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>$ cat result.json | jq -c '.[]'\n{\"id\":1,\"name\":\"project1\"}\n{\"id\":2,\"name\":\"project2\"}\n{\"id\":3,\"name\":\"project-internal-dev\",\"namespace\":{\"name\":\"EMOJI\"}}<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n<h2>\u0641\u06cc\u0644\u062a\u0631 \u06a9\u0631\u062f\u0646 \u0633\u0627\u062e\u062a\u0627\u0631 \u062f\u0627\u062f\u0647 \u0647\u0627 \u0628\u0627 jq<\/h2>\n<p>\u0628\u0627 \u0627\u0646\u062a\u0642\u0627\u0644 (&#8230;) select | \u0628\u0647 jq&nbsp; \u0645\u06cc\u062a\u0648\u0627\u0646 \u0622\u06cc\u062a\u0645 \u0647\u0627 \u0631\u0627 \u0641\u06cc\u0644\u062a\u0631 \u06a9\u0631\u062f. \u0641\u06cc\u0644\u062a\u0631\u0647\u0627 \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u0628\u0627\u0632\u06af\u0634\u062a\u06cc lambda \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0634\u0631\u0637 \u0645\u0642\u0627\u06cc\u0633\u0647 \u0627\u06cc\u06cc \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc\u06a9\u0646\u0646\u062f. \u0648\u0642\u062a\u06cc \u06a9\u0647 \u0622\u06cc\u062a\u0645 \u0647\u0627 \u0628\u0627 \u0634\u0631\u0627\u06cc\u0637 \u0645\u0637\u0627\u0628\u0642\u062a \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0646\u062f\u060c \u0628\u0647 \u062c\u0627\u06cc\u06cc \u06a9\u0647 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0634\u062f\u0647 \u0627\u0646\u062f \u0628\u0627\u0632 \u0645\u06cc\u06af\u0631\u062f\u0646\u062f \u0648 \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u06a9\u0644\u06cc\u062f\u0647\u0627\u06cc \u062f\u06cc\u06a9\u0634\u0646\u0631\u06cc \u0648 \u0645\u0642\u0627\u062f\u06cc\u0631 \u0622\u0646\u0647\u0627 \u0627\u0632 \u0639\u0644\u0627\u0645\u062a . \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f.&nbsp;&nbsp;&nbsp;&nbsp;<\/p>\n<p style=\"text-align: center\">\u0633\u0639\u06cc \u06a9\u0646\u06cc\u062f \u0628\u0631\u0627\u06cc \u0647\u0645\u0647 \u0645\u0648\u0627\u0631\u062f\u06cc \u06a9\u0647 \u0646\u0627\u0645\u0634\u0627\u0646 project2 \u0627\u0633\u062a\u060c \u0627\u06cc\u0646 \u0641\u06cc\u0644\u062a\u0631 \u0631\u0627 \u0627\u0639\u0645\u0627\u0644 \u06a9\u0646\u06cc\u062f:<\/p>\n<p>\u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u0627\u06cc\u0646 \u06a9\u0647 \u0647\u0645\u0647 \u06cc \u0646\u0642\u0637\u0647 \u067e\u0627\u06cc\u0627\u0646 \u0647\u0627 \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 \u062f\u0633\u062a\u0631\u0633\u06cc \u0646\u0627\u0634\u0646\u0627\u0633 \u06cc\u0627 anonymous access \u0642\u0627\u0628\u0644 \u062f\u0633\u062a\u0631\u0633\u06cc \u0646\u06cc\u0633\u062a\u0646\u062f\u060c \u0646\u06cc\u0627\u0632 \u0627\u0633\u062a \u06a9\u0647 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0634\u0648\u0646\u062f.<\/p>\n<p style=\"text-align: center\">\u0633\u0639\u06cc \u06a9\u0646\u06cc\u062f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0632\u06cc\u0631 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc \u067e\u0631\u0648\u0641\u0627\u06cc\u0644 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0631\u0627 \u0648\u0627\u06a9\u0634\u06cc \u06cc\u0627 fetch \u06a9\u0646\u06cc\u062f:&nbsp;&nbsp;<\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>$ cat result.json | jq -c '.[] | select (.name == \"project2\")'\n{\"id\":2,\"name\":\"project2\"}<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JavaScript Object Notation \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0642\u0631\u0627\u0631 \u0627\u0633\u062a \u0637\u0631\u06cc\u0642\u0647 \u0641\u0631\u0645\u062a \u062f\u0647\u06cc JSON \u0648 \u062e\u0648\u062f\u06a9\u0627\u0631\u0633\u0627\u0632\u06cc jq \u0648 CI\/C \u0631\u0627 \u0628\u06cc\u0627\u0645\u0648\u0632\u06cc\u0645. \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 \u062a\u062d\u062a \u0648\u0628 \u0632\u0645\u0627\u0646\u06cc \u0645\u062f\u0631\u0646 \u0645\u062d\u0633\u0648\u0628 \u0645\u06cc\u0634\u0648\u062f \u06a9\u0647 \u06cc\u06a9 REST API \u0628\u0631\u0627\u06cc \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0646 JSON \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f. \u0628\u0631\u0627\u06cc \u0634\u06a9\u0644 \u062f\u0647\u06cc JSON \u0647\u0627\u060c \u0646\u06cc\u0627\u0632 \u0627\u0633\u062a \u06a9\u0647 \u0627\u0648\u0644 \u0622\u0646\u0647\u0627 \u0631\u0627 \u062a\u062c\u0632\u06cc\u0647 \u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0627\u06a9\u062b\u0631\u0627 \u0628\u0639\u062f \u0627\u0632 &hellip;<\/p>\n","protected":false},"author":4,"featured_media":2381,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[73],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v18.4 (Yoast SEO v18.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JSON \u0648\u062e\u0648\u062f\u06a9\u0627\u0631 \u0633\u0627\u0632\u06cc jq \u0648 CI\/C \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 linting | \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627<\/title>\n<meta name=\"description\" content=\"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JavaScript Object Notation \u060c \u0645\u0634\u0627\u0647\u062f\u0647 \u0633\u0627\u062e\u062a\u0627\u0631 \u06cc\u06a9 JSON \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u0634\u062f\u0647 \u060c \u062a\u0627\u062b\u06cc\u0631 Dive \u062f\u0631 \u0633\u0627\u062e\u062a\u0627\u0631 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc JSON\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JSON \u0648\u062e\u0648\u062f\u06a9\u0627\u0631 \u0633\u0627\u0632\u06cc jq \u0648 CI\/C \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 linting\" \/>\n<meta property=\"og:description\" content=\"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JavaScript Object Notation \u060c \u0645\u0634\u0627\u0647\u062f\u0647 \u0633\u0627\u062e\u062a\u0627\u0631 \u06cc\u06a9 JSON \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u0634\u062f\u0647 \u060c \u062a\u0627\u062b\u06cc\u0631 Dive \u062f\u0631 \u0633\u0627\u062e\u062a\u0627\u0631 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc JSON\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-03T07:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-18T14:03:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/05\/JSON-formatting-with-jq.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"360\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0645\u0647\u0633\u0627 \u0645\u062d\u0645\u062f\u06cc\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b\",\"name\":\"bagher rezvan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#personlogo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/43c698432e5f8e000d945d3945e15b50?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/43c698432e5f8e000d945d3945e15b50?s=96&d=mm&r=g\",\"caption\":\"bagher rezvan\"},\"logo\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#personlogo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#website\",\"url\":\"https:\/\/rabsana.ir\/tutorials\/\",\"name\":\"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627\",\"description\":\"\u0622\u0645\u0648\u0632\u0634 \u0647\u0627\u06cc \u062a\u062e\u0635\u0635\u06cc \u0634\u0631\u06a9\u062a \u0637\u0631\u0627\u062d\u06cc \u0633\u0627\u06cc\u062a \u0631\u0627\u0628\u0633\u0627\u0646\u0627\",\"publisher\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/rabsana.ir\/tutorials\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#primaryimage\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/05\/JSON-formatting-with-jq.jpg\",\"contentUrl\":\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/05\/JSON-formatting-with-jq.jpg\",\"width\":1200,\"height\":360,\"caption\":\"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc json\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#webpage\",\"url\":\"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/\",\"name\":\"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JSON \u0648\u062e\u0648\u062f\u06a9\u0627\u0631 \u0633\u0627\u0632\u06cc jq \u0648 CI\/C \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 linting | \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627\",\"isPartOf\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#primaryimage\"},\"datePublished\":\"2021-07-03T07:30:00+00:00\",\"dateModified\":\"2021-07-18T14:03:52+00:00\",\"description\":\"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JavaScript Object Notation \u060c \u0645\u0634\u0627\u0647\u062f\u0647 \u0633\u0627\u062e\u062a\u0627\u0631 \u06cc\u06a9 JSON \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u0634\u062f\u0647 \u060c \u062a\u0627\u062b\u06cc\u0631 Dive \u062f\u0631 \u0633\u0627\u062e\u062a\u0627\u0631 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc JSON\",\"breadcrumb\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u062e\u0627\u0646\u0647\",\"item\":\"https:\/\/rabsana.ir\/tutorials\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JSON \u0648\u062e\u0648\u062f\u06a9\u0627\u0631 \u0633\u0627\u0632\u06cc jq \u0648 CI\/C \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 linting\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#webpage\"},\"author\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/f95a0ac81e3ccf2f7b115822a7a815cd\"},\"headline\":\"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JSON \u0648\u062e\u0648\u062f\u06a9\u0627\u0631 \u0633\u0627\u0632\u06cc jq \u0648 CI\/C \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 linting\",\"datePublished\":\"2021-07-03T07:30:00+00:00\",\"dateModified\":\"2021-07-18T14:03:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#webpage\"},\"wordCount\":161,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b\"},\"image\":{\"@id\":\"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/05\/JSON-formatting-with-jq.jpg\",\"articleSection\":[\"\u0622\u062e\u0631\u06cc\u0646 \u062a\u06a9\u0646\u0648\u0644\u0648\u0698\u06cc \u0647\u0627\u06cc \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631\"],\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/f95a0ac81e3ccf2f7b115822a7a815cd\",\"name\":\"\u0645\u0647\u0633\u0627 \u0645\u062d\u0645\u062f\u06cc\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/rabsana.ir\/tutorials\/#personlogo\",\"inLanguage\":\"fa-IR\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0910931d9fb93b2b6b0627aa03c9f1c6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0910931d9fb93b2b6b0627aa03c9f1c6?s=96&d=mm&r=g\",\"caption\":\"\u0645\u0647\u0633\u0627 \u0645\u062d\u0645\u062f\u06cc\"},\"url\":\"https:\/\/rabsana.ir\/tutorials\/author\/mahsa-mhmdi\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JSON \u0648\u062e\u0648\u062f\u06a9\u0627\u0631 \u0633\u0627\u0632\u06cc jq \u0648 CI\/C \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 linting | \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627","description":"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JavaScript Object Notation \u060c \u0645\u0634\u0627\u0647\u062f\u0647 \u0633\u0627\u062e\u062a\u0627\u0631 \u06cc\u06a9 JSON \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u0634\u062f\u0647 \u060c \u062a\u0627\u062b\u06cc\u0631 Dive \u062f\u0631 \u0633\u0627\u062e\u062a\u0627\u0631 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc JSON","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/","og_locale":"fa_IR","og_type":"article","og_title":"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JSON \u0648\u062e\u0648\u062f\u06a9\u0627\u0631 \u0633\u0627\u0632\u06cc jq \u0648 CI\/C \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 linting","og_description":"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JavaScript Object Notation \u060c \u0645\u0634\u0627\u0647\u062f\u0647 \u0633\u0627\u062e\u062a\u0627\u0631 \u06cc\u06a9 JSON \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u0634\u062f\u0647 \u060c \u062a\u0627\u062b\u06cc\u0631 Dive \u062f\u0631 \u0633\u0627\u062e\u062a\u0627\u0631 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc JSON","og_url":"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/","og_site_name":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627","article_published_time":"2021-07-03T07:30:00+00:00","article_modified_time":"2021-07-18T14:03:52+00:00","og_image":[{"width":1200,"height":360,"url":"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/05\/JSON-formatting-with-jq.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"\u0645\u0647\u0633\u0627 \u0645\u062d\u0645\u062f\u06cc","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"7 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Person","Organization"],"@id":"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b","name":"bagher rezvan","image":{"@type":"ImageObject","@id":"https:\/\/rabsana.ir\/tutorials\/#personlogo","inLanguage":"fa-IR","url":"https:\/\/secure.gravatar.com\/avatar\/43c698432e5f8e000d945d3945e15b50?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/43c698432e5f8e000d945d3945e15b50?s=96&d=mm&r=g","caption":"bagher rezvan"},"logo":{"@id":"https:\/\/rabsana.ir\/tutorials\/#personlogo"}},{"@type":"WebSite","@id":"https:\/\/rabsana.ir\/tutorials\/#website","url":"https:\/\/rabsana.ir\/tutorials\/","name":"\u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627","description":"\u0622\u0645\u0648\u0632\u0634 \u0647\u0627\u06cc \u062a\u062e\u0635\u0635\u06cc \u0634\u0631\u06a9\u062a \u0637\u0631\u0627\u062d\u06cc \u0633\u0627\u06cc\u062a \u0631\u0627\u0628\u0633\u0627\u0646\u0627","publisher":{"@id":"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rabsana.ir\/tutorials\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fa-IR"},{"@type":"ImageObject","@id":"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#primaryimage","inLanguage":"fa-IR","url":"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/05\/JSON-formatting-with-jq.jpg","contentUrl":"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/05\/JSON-formatting-with-jq.jpg","width":1200,"height":360,"caption":"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc json"},{"@type":"WebPage","@id":"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#webpage","url":"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/","name":"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JSON \u0648\u062e\u0648\u062f\u06a9\u0627\u0631 \u0633\u0627\u0632\u06cc jq \u0648 CI\/C \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 linting | \u0622\u0645\u0648\u0632\u0634 \u0631\u0627\u0628\u0633\u0627\u0646\u0627","isPartOf":{"@id":"https:\/\/rabsana.ir\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#primaryimage"},"datePublished":"2021-07-03T07:30:00+00:00","dateModified":"2021-07-18T14:03:52+00:00","description":"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JavaScript Object Notation \u060c \u0645\u0634\u0627\u0647\u062f\u0647 \u0633\u0627\u062e\u062a\u0627\u0631 \u06cc\u06a9 JSON \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u0634\u062f\u0647 \u060c \u062a\u0627\u062b\u06cc\u0631 Dive \u062f\u0631 \u0633\u0627\u062e\u062a\u0627\u0631 \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc JSON","breadcrumb":{"@id":"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u062e\u0627\u0646\u0647","item":"https:\/\/rabsana.ir\/tutorials\/"},{"@type":"ListItem","position":2,"name":"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JSON \u0648\u062e\u0648\u062f\u06a9\u0627\u0631 \u0633\u0627\u0632\u06cc jq \u0648 CI\/C \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 linting"}]},{"@type":"Article","@id":"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#article","isPartOf":{"@id":"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#webpage"},"author":{"@id":"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/f95a0ac81e3ccf2f7b115822a7a815cd"},"headline":"\u0641\u0631\u0645\u062a \u062f\u0647\u06cc JSON \u0648\u062e\u0648\u062f\u06a9\u0627\u0631 \u0633\u0627\u0632\u06cc jq \u0648 CI\/C \u0628\u0647 \u0648\u0633\u06cc\u0644\u0647 linting","datePublished":"2021-07-03T07:30:00+00:00","dateModified":"2021-07-18T14:03:52+00:00","mainEntityOfPage":{"@id":"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#webpage"},"wordCount":161,"commentCount":0,"publisher":{"@id":"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/4ae2a08dbbdf43f1d2e6fe967155aa4b"},"image":{"@id":"https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#primaryimage"},"thumbnailUrl":"https:\/\/rabsana.ir\/tutorials\/wp-content\/uploads\/2021\/05\/JSON-formatting-with-jq.jpg","articleSection":["\u0622\u062e\u0631\u06cc\u0646 \u062a\u06a9\u0646\u0648\u0644\u0648\u0698\u06cc \u0647\u0627\u06cc \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/rabsana.ir\/tutorials\/json-formatting-with-jq-linting-automation\/#respond"]}]},{"@type":"Person","@id":"https:\/\/rabsana.ir\/tutorials\/#\/schema\/person\/f95a0ac81e3ccf2f7b115822a7a815cd","name":"\u0645\u0647\u0633\u0627 \u0645\u062d\u0645\u062f\u06cc","image":{"@type":"ImageObject","@id":"https:\/\/rabsana.ir\/tutorials\/#personlogo","inLanguage":"fa-IR","url":"https:\/\/secure.gravatar.com\/avatar\/0910931d9fb93b2b6b0627aa03c9f1c6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0910931d9fb93b2b6b0627aa03c9f1c6?s=96&d=mm&r=g","caption":"\u0645\u0647\u0633\u0627 \u0645\u062d\u0645\u062f\u06cc"},"url":"https:\/\/rabsana.ir\/tutorials\/author\/mahsa-mhmdi\/"}]}},"_links":{"self":[{"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/posts\/373"}],"collection":[{"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/comments?post=373"}],"version-history":[{"count":11,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/posts\/373\/revisions"}],"predecessor-version":[{"id":3267,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/posts\/373\/revisions\/3267"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/media\/2381"}],"wp:attachment":[{"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/media?parent=373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/categories?post=373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rabsana.ir\/tutorials\/wp-json\/wp\/v2\/tags?post=373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}