From a2be21654d2c4df66d7913b07f39592948768afb Mon Sep 17 00:00:00 2001 From: walon Date: Fri, 27 Mar 2026 12:38:28 +0800 Subject: [PATCH] refactor: rename namespace SimpleJSON to Luban.SimpleJson to avoid conflict with SimpleJSON in TextMateSharp of com.unity.collab-proxy. --- Runtime/SimpleJSON/SimpleJSON.cs | 2 +- Runtime/SimpleJSON/SimpleJSONBinary.cs | 2 +- Runtime/SimpleJSON/SimpleJSONDotNetTypes.cs | 4 ++-- Runtime/SimpleJSON/SimpleJSONUnity.cs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Runtime/SimpleJSON/SimpleJSON.cs b/Runtime/SimpleJSON/SimpleJSON.cs index e92fda1..fd565c8 100644 --- a/Runtime/SimpleJSON/SimpleJSON.cs +++ b/Runtime/SimpleJSON/SimpleJSON.cs @@ -60,7 +60,7 @@ using System.Globalization; using System.Linq; using System.Text; -namespace SimpleJSON +namespace Luban.SimpleJSON { public enum JSONNodeType { diff --git a/Runtime/SimpleJSON/SimpleJSONBinary.cs b/Runtime/SimpleJSON/SimpleJSONBinary.cs index b785ab3..6af777a 100644 --- a/Runtime/SimpleJSON/SimpleJSONBinary.cs +++ b/Runtime/SimpleJSON/SimpleJSONBinary.cs @@ -61,7 +61,7 @@ * * * * */ using System; -namespace SimpleJSON +namespace Luban.SimpleJSON { #if !SimpleJSON_ExcludeBinary public abstract partial class JSONNode diff --git a/Runtime/SimpleJSON/SimpleJSONDotNetTypes.cs b/Runtime/SimpleJSON/SimpleJSONDotNetTypes.cs index d0a8613..f749b36 100644 --- a/Runtime/SimpleJSON/SimpleJSONDotNetTypes.cs +++ b/Runtime/SimpleJSON/SimpleJSONDotNetTypes.cs @@ -1,4 +1,4 @@ -// Copyright 2025 Code Philosophy +// Copyright 2025 Code Philosophy // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -58,7 +58,7 @@ #endregion License and information -namespace SimpleJSON +namespace Luban.SimpleJSON { using System.Globalization; using System.Collections.Generic; diff --git a/Runtime/SimpleJSON/SimpleJSONUnity.cs b/Runtime/SimpleJSON/SimpleJSONUnity.cs index 6515749..17360f6 100644 --- a/Runtime/SimpleJSON/SimpleJSONUnity.cs +++ b/Runtime/SimpleJSON/SimpleJSONUnity.cs @@ -61,7 +61,7 @@ #endregion License and information using UnityEngine; -namespace SimpleJSON +namespace Luban.SimpleJSON { public enum JSONContainerType { Array, Object } public partial class JSONNode